Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D2C4CADD for ; Mon, 24 Nov 2014 03:56:15 +0000 (UTC) Received: (qmail 96712 invoked by uid 500); 24 Nov 2014 03:56:13 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 96307 invoked by uid 500); 24 Nov 2014 03:56:13 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 96277 invoked by uid 99); 24 Nov 2014 03:56:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 03:56:13 +0000 Date: Mon, 24 Nov 2014 03:56:12 +0000 (UTC) From: "Ashish Kumar Singh (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KAFKA-313) Add JSON/CSV output and looping options to ConsumerOffsetChecker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Kumar Singh updated KAFKA-313: ------------------------------------- Attachment: KAFKA-313.1.patch > 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)