[rabbitmq-discuss] What happens to messages delivered just before canceling consume?

Emile Joubert emile at rabbitmq.com
Fri May 18 11:31:00 BST 2012


Hi,

>> Another option is to turn off prefetching (prefetch = 0).
> 
> Um, doesn't that just mean you get a deluge of messages instead?

Apologies, yes please ignore my incorrect advice. Using prefetch = 0
will turn of prefetch limiting and not help at all. The simplest
solution here is to use prefetch = 1 and cancel the subscription before
acknowledging the final message.

-Emile




More information about the rabbitmq-discuss mailing list