srkukarni closed pull request #2776: Fix the variable name for getting current 
topic name
URL: https://github.com/apache/pulsar/pull/2776
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-functions/instance/src/main/python/contextimpl.py 
b/pulsar-functions/instance/src/main/python/contextimpl.py
index f0f9d0fdd6..ab78fa6cc0 100644
--- a/pulsar-functions/instance/src/main/python/contextimpl.py
+++ b/pulsar-functions/instance/src/main/python/contextimpl.py
@@ -75,7 +75,7 @@ def get_message_id(self):
     return self.current_message_id
 
   def get_current_message_topic_name(self):
-    return self.current_topic_name
+    return self.current_input_topic_name
 
   def get_function_name(self):
     return self.instance_config.function_details.name


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to