You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dave DeMaagd (Updated) (JIRA)" <ji...@apache.org> on 2012/03/23 01:26:22 UTC
[jira] [Updated] (KAFKA-313) Add JSON output and looping options to
ConsumerOffsetChecker
[ https://issues.apache.org/jira/browse/KAFKA-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave DeMaagd updated KAFKA-313:
-------------------------------
Attachment: KAFKA-313-2012032200.diff
> Add JSON 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
> Priority: Minor
> Labels: patch
> Attachments: KAFKA-313-2012032200.diff
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira