[rabbitmq-discuss] Correct way of determining which node is master?

Emile Joubert emile at rabbitmq.com
Wed Feb 6 09:32:16 GMT 2013


Hi,

On 05/02/13 20:11, aminer at groupon.com wrote:
> All clients connected to that node lose their connections and
> re-connect

In the scenario you describe this should work fine, because the node
that a client connects to will be the same as the master node for the
private queue. In general it is possible to connect to one node, while
consuming from a queue which has its master on a different node. In that
case consumers must be prepared to receive notification that the master
is now on a different node (receive basic.cancel) and resubscribe to the
queue.





-Emile









More information about the rabbitmq-discuss mailing list