image: juplo/toolbox
command: >
bash -c "
+ kafka-topics --bootstrap-server kafka:9092 --describe --topic test
kafka-topics --bootstrap-server kafka:9092 --delete --if-exists --topic test
kafka-topics --bootstrap-server kafka:9092 --create --topic test --partitions 2 --replication-factor 3 --config min.insync.replicas=2
- kafka-topics --bootstrap-server kafka:9092 --describe --topic test
+ kafka-topics --bootstrap-server kafka-1:9092 --describe --topic test
+ kafka-topics --bootstrap-server kafka-2:9092 --describe --topic test
+ kafka-topics --bootstrap-server kafka-3:9092 --describe --topic test
"
cli: