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:
b0d2a79
)
Das Setup lässt sich mit `docker-compose up setup` starten
author
Kai Moritz
<kai@juplo.de>
Fri, 11 Nov 2022 16:19:30 +0000
(17:19 +0100)
committer
Kai Moritz
<kai@juplo.de>
Fri, 11 Nov 2022 16:21:46 +0000
(17:21 +0100)
README.sh
patch
|
blob
|
history
docker-compose.yml
patch
|
blob
|
history
diff --git
a/README.sh
b/README.sh
index
f5bd509
..
879bae9
100755
(executable)
--- a/
README.sh
+++ b/
README.sh
@@
-24,8
+24,6
@@
else
docker image ls $IMAGE
fi
-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
docker-compose up setup
docker-compose up -d gateway requests-1 requests-2 consumer
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
1f7fa79
..
4118cc4
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-94,6
+94,11
@@
services:
kafka-topics --bootstrap-server kafka:9092 --describe --topic in
kafka-topics --bootstrap-server kafka:9092 --describe --topic out
"
+ depends_on:
+ - kafka-1
+ - kafka-2
+ - kafka-3
+
cli:
image: juplo/toolbox