Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Kafka List Topic Command O/P and Jconsole o/p differs


Copy link to this message
-
Re: Kafka List Topic Command O/P and Jconsole o/p differs
Neha Narkhede 2013-11-20, 14:39
Can you send around steps to reproduce this?

Thanks,
Neha
On Nov 20, 2013 1:50 AM, "Monika Garg" <[EMAIL PROTECTED]> wrote:

> Hi,
> I am getting a very surprising case :
>
> I am having a 2 nodes Kafka cluster and created some topics.
>
> When I am running the command :
>
> *bin/kafka-list-topic.sh --zookeeper 192.168.145.119:2181
> <http://192.168.145.119:2181>*,
>
> I am getting the below output:
>
>
> topic: sample-tick    partition: 0    leader: -1    replicas: 2    isr:
> topic: stock-tick    partition: 0    leader: -1    replicas: 2    isr:
> topic: topic1    partition: 0    leader: -1    replicas: 2,1    isr:
> topic: topic1    partition: 1    leader: -1    replicas: 1,2    isr:
> topic: topic1    partition: 2    leader: -1    replicas: 2,1    isr:
> topic: topic1    partition: 3    leader: -1    replicas: 1,2    isr:
> topic: topic1    partition: 4    leader: -1    replicas: 2,1    isr:
>
> But in my jconsole,no topic is shown in the Mbean regarding any topic.While
> earlier I was getting the Mbean like:
>
> *"kafka.server":type="BrokerTopicMetrics",name="topic1-BytesInPerSec"*
> *"kafka.server":type="BrokerTopicMetrics",name="stock-tick-BytesInPerSec"*
>
> I am not getting any clue of this surprised behavior.
>
> --
> *Moniii*
>