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 2020/06/28 02:31:23 UTC

[GitHub] [pulsar-client-go] merlimat commented on issue #217: Support ack timeout

merlimat commented on issue #217:
URL: https://github.com/apache/pulsar-client-go/issues/217#issuecomment-650674545


   The ack timeout referred here is not the timeout on the ack operation, rather the timeout on the application processing a message. 
   
   Regardless, it was a mistake to add in Java API, and that’s why we didn’t add it in the new Go API. 
   
   Negative acks are better because they convey the application intention on the outcome of processing a message. 
   
   There’s no context or timeout on the ack/nack operations because these happen in background. 
   
   If these fail, the message will be resent and the application will have the chance to ack/nack again. 


----------------------------------------------------------------
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