From bc3bae3dc3f26323ecdde5f0d694a69dfa18ba4b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 10 Aug 2022 19:42:19 +0200 Subject: [PATCH] =?utf8?q?Weitere=20Tags=20f=C3=BCr=20=C3=9Cbungs-Slide=20?= =?utf8?q?erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.20.1