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

Behnam Behzadi bbehzadi.goog at gmail.com
Mon Aug 26 21:23:40 BST 2013


That coordination is non-trivial and very error-prone. Any reasons
delivery-tag is not unique per queue? Of course we'd have to pass the
queueName to Channel.basicAck() method in that case. Does AMQP allow such
implementation?

Thanks
Behnam


On Mon, Aug 26, 2013 at 12:57 PM, Michael Klishin <mklishin at gopivotal.com>wrote:

> Behnam Behzadi:
>
> >  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?
>
> Correct, with more than one consumer on a channel, you need to be careful
> to coordinate
> them if they use acks with multiple = true.
> --
> MK
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130826/3164c557/attachment.htm>


More information about the rabbitmq-discuss mailing list