Skip to content

Instantly share code, notes, and snippets.

@mostafa-asg
mostafa-asg / kafka-console-consumer tip1
Last active June 12, 2024 16:31
Print key of records in kafka-console-consumer
use --property print.key=true
Example : ./kafka-console-consumer.sh --bootstrap-server <BROKERS_ADDRESS> --topic <YOUR_TOPIC> --property print.key=true