From: Kai Moritz Date: Thu, 7 Oct 2021 19:24:37 +0000 (+0200) Subject: Configured juplo/toolbox:latest for the utility-service cli X-Git-Tag: 2021-11-signal~6 X-Git-Url: https://juplo.de/gitweb/?p=demos%2Fkafka%2Fwordcount;a=commitdiff_plain;h=d92b59d5e31afbd4cbdf4486c398ce9a1e52ef4c Configured juplo/toolbox:latest for the utility-service cli --- diff --git a/README.sh b/README.sh index ee7a58c..050f339 100755 --- a/README.sh +++ b/README.sh @@ -49,7 +49,7 @@ else fi -docker-compose up -d zookeeper kafka cli kafkacat +docker-compose up -d zookeeper kafka cli echo "Waiting for the Kafka-Cluster to become ready..." docker-compose exec cli cub kafka-ready -b kafka:9092 1 60 > /dev/null 2>&1 || exit 1 diff --git a/docker-compose.yml b/docker-compose.yml index b65635b..56bd6cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -117,7 +117,7 @@ services: done" cli: - image: confluentinc/cp-kafka:6.2.0 + image: juplo/toolbox command: bash -c " cub kafka-ready -b kafka:9092 1 60 ; kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ; @@ -126,10 +126,6 @@ services: kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ; sleep infinity" - kafkacat: - image: confluentinc/cp-kafkacat:6.2.0 - command: sleep infinity - networks: default: external: