X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=docker-compose.yml;h=27568ce47d8ffcda21785d6f096054165e7cb7d1;hb=ef5317621e092f8f0ab255934c9d06338f3b6889;hp=b50ebc14728cb8b36e94accf39f032710e75e396;hpb=a30fdb455b638e63e0e2084ad916cadb1d44f108;p=demos%2Fkafka%2Ftraining diff --git a/docker-compose.yml b/docker-compose.yml index b50ebc1..27568ce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -61,7 +61,7 @@ services: - zookeeper cli: - image: confluentinc/confluent-cli: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: