From: Kai Moritz Date: Sun, 3 Apr 2022 12:02:17 +0000 (+0200) Subject: Setup für die Übung "acks=all" X-Git-Tag: acks-KAPUTT-DEPRECATED~1 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=ca9df71810e2591ae09e11354db37d6ae2888985;p=demos%2Fkafka%2Ftraining Setup für die Übung "acks=all" --- diff --git a/README.sh b/README.sh index a60804a..f35b5d5 100755 --- a/README.sh +++ b/README.sh @@ -30,10 +30,10 @@ docker-compose up -d sleep 15 echo foo | http -v :8080/foo -docker-compose kill -s 9 kafka-1 +docker-compose stop kafka-1 sleep 5 echo bar | http -v :8080/bar -docker-compose kill -s 9 kafka-3 +docker-compose stop kafka-3 sleep 5 echo foobar | http -v :8080/foobar diff --git a/docker-compose.yml b/docker-compose.yml index 2747529..b63a8ad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -81,6 +81,7 @@ services: producer.bootstrap-server: kafka:9092 producer.client-id: producer producer.topic: test + producer.acks: all consumer: image: juplo/counting-consumer:1.0-SNAPSHOT