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 03D52108AB for ; Wed, 19 Nov 2014 18:28:35 +0000 (UTC) Received: (qmail 26753 invoked by uid 500); 19 Nov 2014 18:28:34 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 26706 invoked by uid 500); 19 Nov 2014 18:28:34 -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 26694 invoked by uid 99); 19 Nov 2014 18:28:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2014 18:28:34 +0000 Date: Wed, 19 Nov 2014 18:28:34 +0000 (UTC) From: "BalajiSeshadri (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-1476) Get a list of consumer groups 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-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218281#comment-14218281 ] BalajiSeshadri commented on KAFKA-1476: --------------------------------------- [~singhashish] or [~nehanarkhede] Can we expose this as an API that returns offset data instead of just command line tool. In DISH we have requirement to display lags in UI,it would be useful to everybody if we do it as API thats used by tool as wells as UI. Let me know your thoughts,i would fix the review comments after your response. Thanks, Balaji > Get a list of consumer groups > ----------------------------- > > Key: KAFKA-1476 > URL: https://issues.apache.org/jira/browse/KAFKA-1476 > Project: Kafka > Issue Type: Wish > Components: tools > Affects Versions: 0.8.1.1 > Reporter: Ryan Williams > Assignee: BalajiSeshadri > Labels: newbie > Fix For: 0.9.0 > > Attachments: ConsumerCommand.scala, KAFKA-1476-LIST-GROUPS.patch, KAFKA-1476-RENAME.patch, KAFKA-1476-REVIEW-COMMENTS.patch, KAFKA-1476.patch, KAFKA-1476.patch, KAFKA-1476.patch, KAFKA-1476_2014-11-10_11:58:26.patch, KAFKA-1476_2014-11-10_12:04:01.patch, KAFKA-1476_2014-11-10_12:06:35.patch > > > It would be useful to have a way to get a list of consumer groups currently active via some tool/script that ships with kafka. This would be helpful so that the system tools can be explored more easily. > For example, when running the ConsumerOffsetChecker, it requires a group option > bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --topic test --group ? > But, when just getting started with kafka, using the console producer and consumer, it is not clear what value to use for the group option. If a list of consumer groups could be listed, then it would be clear what value to use. > Background: > http://mail-archives.apache.org/mod_mbox/kafka-users/201405.mbox/%3cCAOq_b1w=SLZe5jRNAkxvaK0Gu9cTDKPaZaK1G4DygVqZbSgUyg@mail.gmail.com%3e -- This message was sent by Atlassian JIRA (v6.3.4#6332)