conduktor.io ↗

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

Authorhuxihx
StatusDiscussion
JIRAKAFKA-9322
WikiView on Apache Wiki
Created2020-01-20
Last Modified2020-01-20
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.