Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 629 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 629 Bytes

RabbitMQ Docker Clustering with Consul & Traefik

From a terminal, run

docker-compose up -d --scale rabbit=xxxx

where xxxx is an odd number of RabbitMQ instances to start.

You can then go to http://rabbitmq.localhost and see the cluster, http://consul.localhost to see the services registering with the Consul instance, and http://traefik.localhost to see the Traefik dashboard.

Sending and receiving messages

Test sending 100,000 messages to a Quorum Queue on the cluster

python3 RabbitMQ.Send.py

Test receiving messages from a Quorum Queue on the cluster

python3 RabbitMQ.Receive.py