fi
-docker-compose up -d zookeeper kafka cli kafkacat
+docker-compose up -d zookeeper kafka cli
echo "Waiting for the Kafka-Cluster to become ready..."
docker-compose exec cli cub kafka-ready -b kafka:9092 1 60 > /dev/null 2>&1 || exit 1
done"
cli:
- image: confluentinc/cp-kafka:6.2.0
+ image: juplo/toolbox
command: bash -c "
cub kafka-ready -b kafka:9092 1 60 ;
kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ;
kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ;
sleep infinity"
- kafkacat:
- image: confluentinc/cp-kafkacat:6.2.0
- command: sleep infinity
-
networks:
default:
external: