You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by 揣立武 <ch...@meituan.com> on 2016/06/08 09:10:53 UTC

kafka 9 group offset

Hello! Now I am using kafka 0.9. The offset of group does not on zookeeper again, so how can I get the offset of group. 

1. when I use commond: "bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --zookeeper ..."
error like this: "ConsumerOffsetChecker is deprecated and will be dropped in releases following 0.9.0. Use ConsumerGroupCommand instead. (kafka.tools.ConsumerOffsetChecker$)"

2. when I use commond "bin/kafka-run-class.sh kafka.admin.ConsumerGroupCommand --zookeeper ..."
error like this: "Error while executing consumer group command org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /consumers"

can you help me? thx!

-- 
揣立武
美团网技术工程部基础服务组 
手机: 13522216605 
邮箱: chuailiwu@meituan.com 
地址: 北京市朝阳区望京东路6号望京国际研发园三期F座 
邮编: 100102

Re: kafka 9 group offset

Posted by Spico Florin <sp...@gmail.com>.
HI!
  If you have subscribed to a topic via a consumer group you can use:
 ./kafka-consumer-groups.sh --new-consumer --bootstrap-server
brokerhost:brokerport --describe --group your_group_id

You can see the group list via command:

./kafka-consumer-groups.sh --new-consumer
--bootstrap-server brokerhost:brokerport --list
I hope that it helps.

Regards,
 Florin

On Wed, Jun 8, 2016 at 12:10 PM, 揣立武 <ch...@meituan.com> wrote:

>
> Hello! Now I am using kafka 0.9. The offset of group does not on zookeeper
> again, so how can I get the offset of group.
>
> 1. when I use commond: "bin/kafka-run-class.sh
> kafka.tools.ConsumerOffsetChecker --zookeeper ..."
> error like this: "ConsumerOffsetChecker is deprecated and will be dropped
> in releases following 0.9.0. Use ConsumerGroupCommand instead.
> (kafka.tools.ConsumerOffsetChecker$)"
>
> 2. when I use commond "bin/kafka-run-class.sh
> kafka.admin.ConsumerGroupCommand --zookeeper ..."
> error like this: "Error while executing consumer group command
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
> NoNode for /consumers"
>
> can you help me? thx!
>
> --
> 揣立武
> 美团网技术工程部基础服务组
> 手机: 13522216605
> 邮箱: chuailiwu@meituan.com
> 地址: 北京市朝阳区望京东路6号望京国际研发园三期F座
> 邮编: 100102
>