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/04/25 14:03:23 UTC

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

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


   > We want to know the detailed reason.
   
   AckTimeout is actually a legacy problem, we can use nack instead. In many cases, it is hard for the application to handle the failure of processing a particular message. 
   
   AckTimeout main issue with this approach is that the "timeout" is inherently associated with what the application processing is doing. How long should we set the `acktimeout`? In most cases, an ack-timeout of 1min is a perfectly good value, though if the processing takes 3min on average, that would trigger the redelivery of each message multiple times... hence, ack-timeout cannot be turned on by default.


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