From fd20842835636245db98a99c3a0377b4ba457e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CRobert?= Date: Fri, 15 Sep 2023 15:40:04 +0200 Subject: [PATCH] Display partition key while subscribing --- scripts/subscribe_to_kafka_broker_locally.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/subscribe_to_kafka_broker_locally.sh b/scripts/subscribe_to_kafka_broker_locally.sh index 3efcb84..e0456b5 100755 --- a/scripts/subscribe_to_kafka_broker_locally.sh +++ b/scripts/subscribe_to_kafka_broker_locally.sh @@ -7,4 +7,4 @@ fi topic="$1" -docker exec -it bitnami_kafka /opt/bitnami/kafka/bin/kafka-console-consumer.sh --consumer.config /opt/bitnami/kafka/config/consumer.properties --bootstrap-server kafka:9092 --topic "$topic" +docker exec -it bitnami_kafka /opt/bitnami/kafka/bin/kafka-console-consumer.sh --consumer.config /opt/bitnami/kafka/config/consumer.properties --bootstrap-server kafka:9092 --topic "$topic" --property print.key=true