WIP
[demos/kafka/training] / docker-compose.yml
index fd115c4..27568ce 100644 (file)
@@ -61,7 +61,7 @@ services:
       - zookeeper
 
   cli:
-    image: confluentinc/cp-kafkacat:7.1.3
+    image: confluentinc/cp-kafka:7.1.3
     command: sleep infinity
 
   setup:
@@ -79,9 +79,7 @@ services:
     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: