You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "huxihx (Jira)" <ji...@apache.org> on 2019/12/20 06:43:00 UTC

[jira] [Created] (KAFKA-9322) Add `tail -n` feature for ConsoleConsumer

huxihx created KAFKA-9322:
-----------------------------

             Summary: Add `tail -n` feature for ConsoleConsumer
                 Key: KAFKA-9322
                 URL: https://issues.apache.org/jira/browse/KAFKA-9322
             Project: Kafka
          Issue Type: Improvement
          Components: tools
    Affects Versions: 2.4.0
            Reporter: huxihx
            Assignee: huxihx


When debugging, it will be convenient to quickly check the last N messages for a partition using ConsoleConsumer. Currently `offset` could not be negative. However, we could simply break this rule to support `tail -n` feature.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)