projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b5b72
)
Setup für die Übung "acks=1"
author
Kai Moritz
<kai@juplo.de>
Sun, 3 Apr 2022 12:02:17 +0000
(14:02 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sun, 3 Apr 2022 12:10:24 +0000
(14:10 +0200)
README.sh
patch
|
blob
|
history
docker-compose.yml
patch
|
blob
|
history
diff --git
a/README.sh
b/README.sh
index
a60804a
..
f35b5d5
100755
(executable)
--- 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
..
a18ebec
100644
(file)
--- 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: 1
consumer:
image: juplo/counting-consumer:1.0-SNAPSHOT