You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by ravi singh <rr...@gmail.com> on 2016/05/05 19:37:43 UTC
Get topic level detail from new consumer group command
./bin/kafka-consumer-groups.sh --group batchprocessord_zero
--bootstrap-server kafka-1-evilcorp.com:9092 --new-consumer --describe
Running the above ConsumerGroupcommad will describe consumer for all the
topics it's listening to.
Is there any workaround to get *only topic level detail*?
--
*Regards,*
*Ravi*
Re: Get topic level detail from new consumer group command
Posted by Jason Gustafson <ja...@confluent.io>.
I think you're asking for only the details of a particular topic? Could you
just grep the output or are you concerned about the overhead because you
have tons of topics?
-Jason
On Thu, May 5, 2016 at 12:37 PM, ravi singh <rr...@gmail.com> wrote:
> ./bin/kafka-consumer-groups.sh --group batchprocessord_zero
> --bootstrap-server kafka-1-evilcorp.com:9092 --new-consumer --describe
> Running the above ConsumerGroupcommad will describe consumer for all the
> topics it's listening to.
>
> Is there any workaround to get *only topic level detail*?
>
>
> --
> *Regards,*
> *Ravi*
>
Re: Get topic level detail from new consumer group command
Posted by Mudit Agarwal <mu...@yahoo.com.INVALID>.
you need to run describe topic command to get the topic details:
./kafka-topics.sh --zookeeper "<zook_host>:2181" --describe --topic <topic_name>
From: ravi singh <rr...@gmail.com>
To: users@kafka.apache.org; dev@kafka.apache.org
Sent: Friday, 6 May 2016 1:07 AM
Subject: Get topic level detail from new consumer group command
./bin/kafka-consumer-groups.sh --group batchprocessord_zero
--bootstrap-server kafka-1-evilcorp.com:9092 --new-consumer --describe
Running the above ConsumerGroupcommad will describe consumer for all the
topics it's listening to.
Is there any workaround to get *only topic level detail*?
--
*Regards,*
*Ravi*
Re: Get topic level detail from new consumer group command
Posted by Mudit Agarwal <mu...@yahoo.com.INVALID>.
you need to run describe topic command to get the topic details:
./kafka-topics.sh --zookeeper "<zook_host>:2181" --describe --topic <topic_name>
From: ravi singh <rr...@gmail.com>
To: users@kafka.apache.org; dev@kafka.apache.org
Sent: Friday, 6 May 2016 1:07 AM
Subject: Get topic level detail from new consumer group command
./bin/kafka-consumer-groups.sh --group batchprocessord_zero
--bootstrap-server kafka-1-evilcorp.com:9092 --new-consumer --describe
Running the above ConsumerGroupcommad will describe consumer for all the
topics it's listening to.
Is there any workaround to get *only topic level detail*?
--
*Regards,*
*Ravi*