Skip to content

Commit

Permalink
Display partition key while subscribing
Browse files Browse the repository at this point in the history
  • Loading branch information
rjambrecic committed Sep 15, 2023
1 parent 56631a3 commit fd20842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/subscribe_to_kafka_broker_locally.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fd20842

Please sign in to comment.