KIP-563 — Add 'tail -n' feature for ConsoleConsumer
Discussion ConsumerAdmin
Adds a tail -n <count> mode to kafka-console-consumer.sh that reads the last N messages from each partition by seeking to offset (LEO - N) before consuming. There is currently no way to quickly inspect the last N messages of a partition from the CLI without consuming from the beginning or knowing exact offsets.
Details
| Author | huxihx |
| Status | Discussion |
| JIRA | KAFKA-9322 |
| Wiki | View on Apache Wiki |
| Created | 2020-01-20 |
| Last Modified | 2020-01-20 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.