First app is a producer that sends messages (1 per second / while-true loop), the second one is a consumer that receives messages and prints them out.
- Docker-compose
git clone https://github.com/7olstoy/go-rabbitmq-docker-sample
cd go-rabbitmq-docker-sample
docker-compose up
After, you can check RabbitMQ internal dashboard at http://localhost:15672
.
git clone https://github.com/7olstoy/go-rabbitmq-docker-sample
cd go-rabbitmq-docker-sample
docker-compose -f docker-compose.monitoring.yml up
After, you can check Grafana RabbitMQ dashboard at http://localhost:3000
and admin:admin credentials.
git clone https://github.com/7olstoy/go-rabbitmq-docker-sample
cd go-rabbitmq-docker-sample
sudo chmod 700 cluster/.erlang.cookie
docker-compose -f docker-compose.cluster.yml up
After, you can check Grafana RabbitMQ dashboard at http://localhost:3000
and admin:admin credentials.