# 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