From: Kai Moritz Date: Wed, 10 Aug 2022 17:42:19 +0000 (+0200) Subject: Weitere Tags für Übungs-Slide ergänzt X-Git-Tag: acks---lvm-2-tage X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=bc3bae3dc3f26323ecdde5f0d694a69dfa18ba4b;p=demos%2Fkafka%2Ftraining Weitere Tags für Übungs-Slide ergänzt --- diff --git a/README.sh b/README.sh index 35f9395..ce2b7bd 100755 --- a/README.sh +++ b/README.sh @@ -33,16 +33,18 @@ sleep 5 # tag::foo[] echo foo | http -v :8081/acks-1 -echo foo | http -v :8081/acks-1 -echo foo | http -v :8082/acks-all echo foo | http -v :8082/acks-all kafkacat -C -b :9092 -t test -o 0 -e -f'p=%p|o=%o|k=%k|v=%s\n' # end::foo[] # tag::stop[] docker-compose stop kafka-1 -docker-compose exec cli kafka-topics --bootstrap-server kafka:9092 --describe --topic test # end::stop[] +docker-compose exec -T cli bash << 'EOF' +# tag::describe[] +kafka-topics --bootstrap-server kafka:9092 --describe --topic test +# end::describe[] +EOF time echo bar | http -v :8081/acks-1 time echo bar | http -v :8081/acks-1