docker-compose start consumer-3
docker-compose stop consumer-1
+sleep 1
+docker-compose start consumer-2
sleep 5
docker-compose start consumer-1
docker-compose stop producer consumer-1 consumer-2 consumer-3
docker-compose logs consumer-1
-echo "Received messages for test/0"
+echo "Messages received by consumer-1 for test/0"
docker-compose logs consumer-1 | grep test/0
-echo "Received messages for test/1"
+echo "Messages received by consumer-2 for test/0"
+docker-compose logs consumer-2 | grep test/0
+echo "Messages received by consumer-3 for test/0"
+docker-compose logs consumer-3 | grep test/0
+echo "Messages received by consumer-1 for test/1"
docker-compose logs consumer-1 | grep test/1
+echo "Messages received by consumer-2 for test/1"
+docker-compose logs consumer-2 | grep test/1
+echo "Messages received by consumer-3 for test/1"
+docker-compose logs consumer-3 | grep test/1