pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jerrypeng commented on a change in pull request #3237: fix bug involving consumer producer deadlock in functions
Date Fri, 21 Dec 2018 22:17:17 GMT
jerrypeng commented on a change in pull request #3237: fix bug involving consumer producer
deadlock in functions
URL: https://github.com/apache/pulsar/pull/3237#discussion_r243703626
 
 

 ##########
 File path: pulsar-functions/instance/src/main/python/contextimpl.py
 ##########
 @@ -133,7 +133,7 @@ def get_output_topic(self):
   def get_output_serde_class_name(self):
     return self.instance_config.function_details.outputSerdeClassName
 
-  def publish(self, topic_name, message, serde_class_name="serde.IdentitySerDe", properties=None,
compression_type=None):
+  def publish(self, topic_name, message, serde_class_name="serde.IdentitySerDe", properties=None,
compression_type=None, callback=None):
 
 Review comment:
   not really since if we don't provide the user the ability to gracefully handle fails via
a callback then this deadlock can happen as well.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message