Useful commands for the developer
Display topic offsets:
bin/kafka-run-class.sh kafka.tools.GetOffsetShell --topic test1 --broker-list localhost:9091
output
<topic>:<offset_of_first_message>:<next_offset>
bin/kafka-run-class.sh kafka.tools.GetOffsetShell --topic test1 --broker-list localhost:9091
<topic>:<offset_of_first_message>:<next_offset>