You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/14 17:06:41 UTC

[GitHub] [pulsar] merlimat commented on a change in pull request #3816: Negative acks implementation for Python client

merlimat commented on a change in pull request #3816: Negative acks implementation for Python client
URL: https://github.com/apache/pulsar/pull/3816#discussion_r265673607
 
 

 ##########
 File path: pulsar-client-cpp/python/pulsar/__init__.py
 ##########
 @@ -941,6 +952,27 @@ def acknowledge_cumulative(self, message):
         else:
             self._consumer.acknowledge_cumulative(message)
 
+    def negative_acknowledge(self, message):
+        """
+        Acknowledge the failure to process a single message.
+
+        When a message is "negatively acked" it will be marked for redelivery after
+        some fixed delay. The delay is configurable when constructing the consumer
+        with {@link ConsumerConfiguration#setNegativeAckRedeliveryDelayMs}.
+     * <p>
 
 Review comment:
   Good catch. I forgot to reformat
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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