[rabbitmq-discuss] Query on bulk acknowledgement - For both Publisher confirms and Consumer Acknowledgement

Michael Klishin mklishin at gopivotal.com
Mon Aug 26 20:53:24 BST 2013

Behnam Behzadi:

> That implies that delivery_tag is unique per channel, right?
> So, how would this work if there's not a 1:1 correspondence between channels and queues and each queue has its own independent consumer thread?  e.g. let's say we have 2 queues on one channel and each queue is consumed asynchronously by a consumer thread.  If one of the consumer threads sends a bulk ack it may inadvertently end up sending ack for the messages that the other thread is consuming.  Will it not?

Every delivery on a channel carries a unique id, regardless of what consumer it is for.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130826/7273e7a8/attachment.pgp>

More information about the rabbitmq-discuss mailing list