[rabbitmq-discuss] create queues in the cluster

Theo Hultberg theo at iconara.net
Thu May 2 06:44:51 BST 2013

Queues are created on the node you're connected to when you create the


On Thu, May 2, 2013 at 4:08 AM, Doug <doug at hacks.perl.sh> wrote:

> Hello,
> From the rabbitmq in action book:
> The minute you join one node to another to form a cluster something
> dramatically changes: not every node has a full copy of every queue.
> In a single node setup all of the information about a queue (metadata,
> state, and contents) is fully stored in that node (Figure 5.1).
> However, in a cluster when you create queues, the cluster only creates
> the full information about the queue (metadata, state, contents) on a
> single node in the cluster rather than on all of them (the cluster
> tries to evenly distribute queue creation amongst the nodes). The
> result is that only the “owner” node for a queue knows the full
> information about that queue. All of the “non-owner” nodes only know
> the queue’s metadata and a pointer to the node where the queue
> actually lives. So when a cluster node dies that node’s queues and
> associated bindings disappear. Consumers attached to those queues lose
> their subscriptions, and any new messages that would have matched that
> queue’s bindings become blackholed.
> Does this mean, when a client create a queue in the cluster, this
> queue is created on a random(?) node of the cluster, not the connected
> node  for the client?
> Thanks.
> _______________________________________________
> 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/20130502/4322f715/attachment.htm>

More information about the rabbitmq-discuss mailing list