[rabbitmq-discuss] How to use HAProxy as a load balancer in RabbitMQ cluster?

Michael Klishin mklishin at gopivotal.com
Tue Nov 5 13:14:40 GMT 2013

On 5 Nov 2013, at 17:10, Rajasekhar P <sekhar434145 at gmail.com> wrote:

> We are using HAProxy as a load balancer in RabbitMQ cluster and we have done the configuration and able to see the stats, where it will display list of running nodes.
> But, we want to know how to configure for connecting producer and consumers and we working on Java client. Could anyone please share the sample producer and consumer code which we can test via HAProxy load balancer.

The whole point of having a proxy is that clients don’t need to be aware of the cluster topology.

Your clients should connect to HAproxy. There is no difference to connecting to a Rabbit node directly.


Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list