Examples (8)
Consume messages starting with the newest offset
kcat -C -t topic -b brokersConsume messages starting with the oldest offset and exit after the last message is received
kcat -C -t topic -b brokers -o beginning -eConsume messages as a Kafka consumer group
kcat -G group_id topic -b brokersPublish messages by reading from a file
kcat -P -t topic -b brokers path/to/fileList metadata for all topics and brokers
kcat -L -b brokersList metadata for a specific topic
kcat -L -t topic -b brokersGet offset for a topic/partition for a specific point in time
kcat -Q -t topic:partition:unix_timestamp -b brokersmade by @shridhargupta | data from tldr-pages