From 32d9985a856a8dc6a7d2e4056dcc5b8d4670a8a5 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 10 Nov 2023 11:26:13 +0100 Subject: [PATCH] =?utf8?q?`README.sh`=20an=20=C3=9Cbung=20angepasst?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/README.sh b/README.sh index fa8a4c7..f844991 100755 --- a/README.sh +++ b/README.sh @@ -15,24 +15,9 @@ docker build -t juplo/cruise-control . docker-compose -f docker/docker-compose.yml up --remove-orphans setup || exit 1 docker-compose -f docker/docker-compose.yml ps -docker-compose -f docker/docker-compose.yml up -t0 -d cli -sleep 1 -docker-compose -f docker/docker-compose.yml logs setup +docker-compose -f docker/docker-compose.yml up --remove-orphans setup || exit 1 +docker-compose -f docker/docker-compose.yml up -d producer consumer-1 consumer-2 +docker-compose -f docker/docker-compose.yml up -d cruise-control -echo -echo "Hilfe-Ausgabe von kafkacat" -echo -docker-compose -f docker/docker-compose.yml exec -T cli kafkacat -h -echo -echo "Nachrichten schreiben mit kafkacat" -echo -docker-compose -f docker/docker-compose.yml exec -T cli kafkacat -P -b kafka:9092 -t test << EOF -Hallo Welt! -Nachricht #1 -Nachricht #2 -Nachricht #3 -EOF -echo -echo "Nachrichten lesen mit kafkacat" -echo -docker-compose -f docker/docker-compose.yml exec cli kafkacat -C -b kafka:9092 -t test -o beginning -e +sleep 5 +docker-compose -f docker/docker-compose.yml logs cruise-control -- 2.20.1