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

2020-01-19 Thread huxihx (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

huxihx updated KAFKA-9322:
--
Labels: needs-kip  (was: )

> 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
>Priority: Major
>  Labels: needs-kip
>
> When debugging, it will be convenient to quickly check the last N messages 
> for a partition using ConsoleConsumer. Currently `offset` could not be 
> negative except -1 and -2. However, we could simply break this rule to 
> support `tail -n` feature. A tricky thing is currently we treat -1 and -2 as 
> special values, so I am not sure if a new KIP is needed.



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


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

2019-12-19 Thread huxihx (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

huxihx updated KAFKA-9322:
--
Description: When debugging, it will be convenient to quickly check the 
last N messages for a partition using ConsoleConsumer. Currently `offset` could 
not be negative except -1 and -2. However, we could simply break this rule to 
support `tail -n` feature. A tricky thing is currently we treat -1 and -2 as 
special values, so I am not sure if a new KIP is needed.  (was: 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. A tricky thing is 
currently we treat -1 and -2 as special values, so I am not sure if a new KIP 
is needed.)

> 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
>Priority: Major
>
> When debugging, it will be convenient to quickly check the last N messages 
> for a partition using ConsoleConsumer. Currently `offset` could not be 
> negative except -1 and -2. However, we could simply break this rule to 
> support `tail -n` feature. A tricky thing is currently we treat -1 and -2 as 
> special values, so I am not sure if a new KIP is needed.



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


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

2019-12-19 Thread huxihx (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

huxihx updated KAFKA-9322:
--
Description: 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. A tricky thing is currently we treat -1 and -2 as special values, so I 
am not sure if a new KIP is needed.  (was: 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.)

> 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
>Priority: Major
>
> 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. A tricky thing is currently we treat -1 and -2 as special values, so 
> I am not sure if a new KIP is needed.



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