kcat

Apache Kafka producer and consumer tool. More information: https://github.com/edenhill/kcat.

kcat -C -t topic -b brokers

kcat -C -t topic -b brokers -o beginning -e

kcat -G group_id topic -b brokers

echo message | kcat -P -t topic -b brokers

kcat -P -t topic -b brokers path/to/file

kcat -L -b brokers

kcat -L -t topic -b brokers

kcat -Q -t topic:partition:unix_timestamp -b brokers