[rabbitmq-discuss] Publisher Confirms in mirrored queues

Prashanth meetprashanth437 at gmail.com
Wed Jul 18 20:15:17 BST 2012


Hi all,

I was confused after reading the publisher confirm documentation.

Similarly, messages published by clients using publisher
confirms<http://www.rabbitmq.com/extensions.html#confirms> will
still be confirmed correctly even if the master (or any slaves) fail
between the message being published and the message being able to be
confirmed to the publisher. Thus from the point of view of the publisher,
publishing to a mirrored-queue is no different from publishing to any other
sort of queue. It is only consumers that need to be aware of the
possibility of needing to re-consume from a mirrored-queue upon receipt of
a Consumer Cancellation
Notification<http://www.rabbitmq.com/extensions.html#consumer-cancel-notify>
.

Equally, in the case of publisher confirms, a message will only be
confirmed to the publisher when it has been accepted by all of the mirrors.
It is correct to think of the semantics as being the same as a message
being routed to multiple normal queues, and of a transaction with
publications within that similarly are routed to multiple queues.

After reading the above lines. Now I am confused about the publisher
confirms. The first paragraph says that publishing to mirrored queues is
like publishing to each individual queue. Messages are published to all the
queues and each queue sends publisher confirms. In the second paragraph it
says a message will only be confirmed to the publisher when it has been
accepted by all of the mirrors.
Those two paragraph looks like they say two opposite things.

Please, correct me if I am wrong.


Thanks,
Prashanth.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120718/34d20521/attachment.htm>


More information about the rabbitmq-discuss mailing list