You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Diego Woitasen <di...@flugel.it> on 2016/05/30 12:37:25 UTC

kafka.tools.ConsumerOffsetChecker fails for one topic

Hi,
  I have these topic in Kafka:

# /opt/kafka/bin/kafka-topics.sh --zookeeper localhost:2181
--list__consumer_offsets
facebook
twitter

# bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --group jopgroup
--zookeeper localhost:2181 --topic twitter
Exiting due to: org.apache.zookeeper.KeeperException$NoNodeException:
KeeperErrorCode = NoNode for /consumers/jopgroup/offsets/twitter/0.

Same command for "facebook" topic works fine.

More info:

# /opt/kafka/bin/kafka-topics.sh --zookeeper localhost:2181 --describe
--topic twitter
Topic:twitter   PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: twitter  Partition: 0    Leader: 1       Replicas: 1
Isr: 1

Thanks in advance!
-- 

Diego Woitasen
http://flugel.it
Infrastructure Developers

Re: kafka.tools.ConsumerOffsetChecker fails for one topic

Posted by Gerard Klijs <ge...@dizzit.com>.
It might be there never was/currently isn't a consumer with the group
jopgroup consuming from the twitter topic. I only used it for the new
consumer(offsets in broker), and then the group needs to be 'active' in
order to get the offsets.

On Mon, May 30, 2016 at 2:37 PM Diego Woitasen <di...@flugel.it> wrote:

> Hi,
>   I have these topic in Kafka:
>
> # /opt/kafka/bin/kafka-topics.sh --zookeeper localhost:2181
> --list__consumer_offsets
> facebook
> twitter
>
> # bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --group jopgroup
> --zookeeper localhost:2181 --topic twitter
> Exiting due to: org.apache.zookeeper.KeeperException$NoNodeException:
> KeeperErrorCode = NoNode for /consumers/jopgroup/offsets/twitter/0.
>
> Same command for "facebook" topic works fine.
>
> More info:
>
> # /opt/kafka/bin/kafka-topics.sh --zookeeper localhost:2181 --describe
> --topic twitter
> Topic:twitter   PartitionCount:1        ReplicationFactor:1     Configs:
>         Topic: twitter  Partition: 0    Leader: 1       Replicas: 1
> Isr: 1
>
> Thanks in advance!
> --
>
> Diego Woitasen
> http://flugel.it
> Infrastructure Developers
>