Note
July 17, 2025 ยท View on GitHub
Direct message delivery with publisher confirms pattern.
Instructions
- Run
docker compose up --detach --wait - You need two terminals/panes.
I'm using tmux to split the terminal into panes.
Runtmux new-session \; split-window -v \; select-pane -U \; - In the bottom pane run
docker compose exec consumer python /usr/src/consumer.py - In the top pane run
for i in {1..6}; do docker compose exec producer python /usr/src/producer.py; done - In the top pane run
docker compose down --volumes && docker network rm -f rabbitmq
To access RabbitMQ management console go to localhost:15672 and use following credentials:
- Username:
bugs - Password:
bunny
Terminal

Testing
bash src/scripts/rabbitmq-e2e-tests.sh
Debug
docker compose exec broker rabbitmqctl list_queues
docker compose exec broker rabbitmqctl list_bindings
docker compose exec broker rabbitmqctl list_exchanges