GitHub user shubham-Shole4ever added a comment to the discussion: Support for 
long running message consumer

@codelipenghui I had a look at the negative-acknowledgement. This will still 
not work if my ackTimeout is set to 10 mins and the message I am consuming is 
taking 30 mins (for e.g.). The broker will resurface the message after 10 mins, 
even though one of the consumer is still working on it. 
I want to avoid this scenario. My proposal is to have something like a 
"working(messageId)" functionality on the consumer, which notifies the broker 
not to timeout (and resurface) the message, but rather extend/refresh the 
ackTimeout set for the concerned messageId.

GitHub link: 
https://github.com/apache/pulsar/discussions/18456#discussioncomment-4133175

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to