From e50b8eaaf1050bae3639367c91b280e189122301 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Tue, 9 Jan 2018 08:30:01 +0100 Subject: [PATCH] Displays topic ReplicationFactor etc at producer start --- kafka/test/produce-consume.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kafka/test/produce-consume.yml b/kafka/test/produce-consume.yml index 385278ea..f3a9961e 100644 --- a/kafka/test/produce-consume.yml +++ b/kafka/test/produce-consume.yml @@ -80,6 +80,8 @@ spec: - > echo "--- start $HOSTNAME $(date --iso-8601='ns' -u) ---" >> /shared/produce.tmp ; + ./bin/kafka-topics.sh --zookeeper zookeeper.kafka:2181 --describe --topic test-produce-consume + ; tail -f /shared/produce.tmp | ./bin/kafka-console-producer.sh --broker-list $BOOTSTRAP --topic test-produce-consume ;