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