merlimat commented on issue #3703: Added support for "negative acks" in Java 
client
URL: https://github.com/apache/pulsar/pull/3703#issuecomment-467985397
 
 
   > how about calling `delayedAck` instead `negativeAck`? 
   
   This is not delaying the ack (which is something we already have as an 
internal optimization, see 
https://pulsar.apache.org/api/client/org/apache/pulsar/client/api/ConsumerBuilder.html#acknowledgmentGroupTime-long-java.util.concurrent.TimeUnit-
 ). 
   
   Rather this is signaling the failure to process. After the timeout since the 
nack is called, the message will not be automatically acked, but rather 
re-delivered.
   
   Also see these links for terminology context: 
    * https://en.wikipedia.org/wiki/Acknowledgement_(data_networks)
    * https://www.rabbitmq.com/nack.html
    

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to