projects
/
demos
/
kafka
/
training
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Setup und Beispiel in `README.sh` vereinfacht
[demos/kafka/training]
/
README.sh
diff --git
a/README.sh
b/README.sh
index
0e8d4d3
..
8451679
100755
(executable)
--- a/
README.sh
+++ b/
README.sh
@@
-29,10
+29,7
@@
docker-compose up -d producer
while ! [[ $(http 0:8080/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for producer..."; sleep 1; done
while ! [[ $(http 0:8080/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for producer..."; sleep 1; done
-docker-compose up -d peter klaus
-
-sleep 10
-docker-compose kill -s9 peter klaus
+echo -n 3 | http -v :8080/foo;
# tag::kafkacat[]
kafkacat -b :9092 -t test -o 0 -e -f 'p=%p|o=%o|k=%k|h=%h|v=%s\n'
# tag::kafkacat[]
kafkacat -b :9092 -t test -o 0 -e -f 'p=%p|o=%o|k=%k|h=%h|v=%s\n'