WIP
[demos/kafka/training] / docker-compose.yml
index 61a0a85..d1a9202 100644 (file)
@@ -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 \"hello world\nhow are you\nI hope, you're fine\" | kafkacat -P -b kafka:9092 -t test -X acks=all
       "
 
   consumer: