Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Getting the Error While describing the kafka consumer group .

avatar
Rising Star

Hi All,

I am trying to describe the Kafka Consumer group by the below command .

bin/kafka-consumer-groups.sh --new-consumer --bootstrap-server broker1:9092,broker2:9092 --describe --group console-consumer-44261 --command-config conf/security_user_created

But I am getting an error as

Consumer group `console-consumer-44261` does not exist or is rebalancing.

I have checked the zookeeper , the consumer group exist and I am always getting this error .

Could some point out me here , what mistake I am making here .

Kakfa version I am using is 0.9 .

Thanks in advance ,

Param.

1 REPLY 1

avatar
Rising Star

@Param NC From command I can see that you are using --new-consumer to describe consumer group. When new consumer is used it tries to fetch consumer group info from consumer offset topics which gets created in kafka log directory.

Try using --zookeeper instead of --new-consumer, for eg :

$ /usr/bin/kafka-consumer-groups.sh --zookeeper <zookeeper-hostname>:2181 --describe --group <consumer-group>