Question on rabbitmq acknowledge timeout and nack

112 views
Skip to first unread message

Brian

unread,
Sep 22, 2023, 5:16:01 AM9/22/23
to rabbitmq-users
Hello,

I have a question about the acknowledge timeout described here: https://www.rabbitmq.com/consumers.html#acknowledgement-timeout

I understand that the timeout occurs when the consumer doesn't send an acknowledge for >30 minutes. Does the timeout also occur when the consumer only returns nack or reject for more than 30 minutes? Or does this reset the timeout value.


kjnilsson

unread,
Sep 25, 2023, 5:47:38 AM9/25/23
to rabbitmq-users
The timeout will only trigger if any message goes "unresolved" (acked, nacked, rejected) for some time more than the configured timeout.

It is there to catch messages that are never going to be either acked nor nacked.

Cheers
Karl

Reply all
Reply to author
Forward
0 new messages