X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=README.sh;h=fbd0331df1db409a42b1695179a91f7a80be1e05;hb=3d56a3162806ba0293d1f0cb31da43453f68e643;hp=bc2a6747b16867dbd3b64865274ff322a33b314b;hpb=dd9103fdedc432ba861abeaf5cfb4acb66749f15;p=demos%2Fkafka%2Ftraining diff --git a/README.sh b/README.sh index bc2a674..fbd0331 100755 --- a/README.sh +++ b/README.sh @@ -36,16 +36,22 @@ while ! [[ $(http 0:8082/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Wait while ! [[ $(http 0:8091/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for adder-1..."; sleep 1; done while ! [[ $(http 0:8092/actuator/health 2> /dev/null) =~ "UP" ]]; do echo "Waiting for adder-2..."; sleep 1; done +# tag::nachrichten[] echo 6 | http -v :8080/peter echo 6 | http -v :8080/klaus +# end::nachrichten[] while [[ "$(http :8091/results | jq -r .)" == "{}" ]]; do echo "Waiting for some results to show up on adder-1..."; sleep 1; done echo "Resultate für adder-1" +# tag::resultate[] http -v :8091/results +# end::resultate[] while [[ "$(http :8092/results | jq -r .)" == "{}" ]]; do echo "Waiting for some results to show up on adder-2..."; sleep 1; done echo "Resultate für adder-2" +# tag::resultate[] http -v :8092/results +# end::resultate[] docker-compose stop adder-1