- zookeeper
cli:
- image: confluentinc/confluent-cli:7.1.3
+ image: confluentinc/cp-kafka:7.1.3
command: sleep infinity
setup:
image: confluentinc/cp-kafkacat:7.1.3
command: >
bash -c "
- echo 'hello world' | kafkacat -P -b kafka:9092 -t test -X acks=all
- echo 'hello world' | kafkacat -P -b kafka:9092 -t test -X acks=all
- echo 'hello world' | kafkacat -P -b kafka:9092 -t test -X acks=all
+ echo -e \"hello world\nhow are you\nI hope, you're fine\" | kafkacat -P -b kafka:9092 -t test -X acks=all
"
consumer: