kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luan Cooper <gc.su...@gmail.com>
Subject Why multi zookeeper show different topic count
Date Wed, 06 Jul 2016 07:41:24 GMT
I deploy
3 Zookeeper instances on hd-kafka-01/02/03
3 Kafka server instances on hd-kafka-03/04/05

I created 4 topics earlier

when I'm trying to list topics

bin/kafka-topics.sh --list --zookeeper hd-kafka-03:2181,hd-kafka-0
3:2181,hd-kafka-05:2181

I get different results randomly: 5 topics or 1 topics (__consumer_offsets)
then I try single zookeeper host

bin/kafka-topics.sh --list --zookeeper hd-kafka-05:2181

it works well and show 5 topics(including __consumer_offsets)
when I try

bin/kafka-topics.sh --list --zookeeper hd-kafka-03:2181
bin/kafka-topics.sh --list --zookeeper hd-kafka-04:2181

it didn't works well

Why? What should I do with these zookeeper host?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message