You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2015/02/07 21:30:36 UTC

[jira] [Commented] (KAFKA-313) Add JSON/CSV output and looping options to ConsumerOffsetChecker

    [ https://issues.apache.org/jira/browse/KAFKA-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310918#comment-14310918 ] 

Neha Narkhede commented on KAFKA-313:
-------------------------------------

[~singhashish] We are moving to a centralized ConsumerCommand in KAFKA-1476 that will replace all other consumer admin tools. Can you review to see if the tool has the options you are looking for? Going forward, I think we may want to improve that and phase out the current tools.

> Add JSON/CSV output and looping options to ConsumerOffsetChecker
> ----------------------------------------------------------------
>
>                 Key: KAFKA-313
>                 URL: https://issues.apache.org/jira/browse/KAFKA-313
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Dave DeMaagd
>            Assignee: Ashish Kumar Singh
>            Priority: Minor
>              Labels: newbie, patch
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-313-2012032200.diff, KAFKA-313.1.patch, KAFKA-313.patch
>
>
> Adds:
> * '--loop N' - causes the program to loop forever, sleeping for up to N seconds between loops (loop time minus collection time, unless that's less than 0, at which point it will just run again immediately)
> * '--asjson' - display as a JSON string instead of the more human readable output format.
> Neither of the above  depend on each other (you can loop in the human readable output, or do a single shot execution with JSON output).  Existing behavior/output maintained if neither of the above are used.  Diff Attached.
> Impacted files:
> core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)