From ca9df71810e2591ae09e11354db37d6ae2888985 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 3 Apr 2022 14:02:17 +0200 Subject: [PATCH] =?utf8?q?Setup=20f=C3=BCr=20die=20=C3=9Cbung=20"acks=3Dal?= =?utf8?q?l"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 4 ++-- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.20.1