Did you send any messages to those topics? I think we register those mbeans only after messages have been received.
On Wed, Nov 20, 2013 at 03:20:25PM +0530, Monika Garg 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*