Demo of simple microservices structure with MQ broker
- Docker 1.13.1+
- Docker Compose
docker-compose up -d --scale consumer2=3
- Go to
http://localhost/
- publisher service will send message to broker. Then services consumer1 and consumer2 will receive and log that message. - Check
docker-compose logs consumer1 consumer2
from the host.
Also you can check queues: docker exec -it mqdemo_mq_1 rabbitmqctl list_queues