[rabbitmq-discuss] highly available shovel in a cluster

Francesco Mazzoli francesco at rabbitmq.com
Mon Aug 13 17:57:04 BST 2012


Hi Žilvinas,

At Mon, 13 Aug 2012 17:23:50 +0100,
Žilvinas Šaltys wrote:
> We have a cluster made of two nodes with 1 HA queue that has a shovel on the
> master node that shovels messages to itself from another RabbitMQ broker over
> WAN. The problem is if the master node goes down the shovel plugin needs to
> become active on the slave and to keep shoveling. How to solve this problem?

You can simply specify all the nodes in the cluster in the brokers list.  When a
node the shovel is consuming from goes down, shovel will try to reconnect to a
node at random, and hopefully will eventually connect to an online node.

--
Francesco * Often in error, never in doubt


More information about the rabbitmq-discuss mailing list