It seems that the mbean name that you used is wrong. The mbean names registered by metrics 2.2.0 have quotes in them. Thanks, Jun answered Jul 1 2013 at 08:47 |
Okay i'll try for same. Also want to know that in kafka-0.7 there is single MBean - SocketServerStats which provides all kafka Metrics. But in Kafka-0-8 there are individual MBeans (like AllTopicsBytesInPerSec, AllTopicsBytesOutPerSec etc.) for getting each parameter like ByteInRate, ByteOutRate etc. Does kafka-0.8 provide any single MBean from which we can get all parameters? *Thanks & Regards* *Hanish Bansal* answered Jul 1 2013 at 21:06 |
In 0.8, there are more mbeans than 0.7. Thanks, Jun answered Jul 2 2013 at 07:35 |
Thanks Jun *Thanks & Regards* *Hanish Bansal* answered Jul 3 2013 at 00:36 |
Hi All, As kafka-0.8's main feature in data replication. We are running two kafka nodes(lets say: kafka-1 and kafka-2) in cluster mode. If we produce data into kafka using replication factor=2 then its replica is created on second machine. I am using jconsole to monitor kafka. if messages are going on kafka-1 then i am able to see kafka metrics on jconsole of kafka-1. But by connecting to jconsole for kafka-2 i am not seeing any metrics, i want to know why it is happening ?? For more clarity i am asking same question in other way: If one kafka node is storing replicas of data, then will it be visible on jconsole or not ? *Thanks & Regards* *Hanish Bansal* answered Jul 29 2013 at 06:04 |
Does the Kafka data show up in the log dir in kafka-2? Since only the leader can serve any traffic, if there is only have one partition or all leaders are on one broker, not all metrics (e.g., produce/fetch rate) will show up on both brokers. Thanks, Jun answered Jul 29 2013 at 07:55 |
Yes, Kafka data shows up in the log dir in kafka-2. We are having 2 partitions on all brokers. *Thanks & Regards* *Hanish Bansal* answered Jul 29 2013 at 22:48 |
Could you run kafka-list-topics to see whether the leader of those partitions are distributed on both brokers? Thanks, Jun answered Jul 30 2013 at 09:03 |
Group Incubator-kafka-users
asked Jul 1 2013 at 04:31
active Jul 30 2013 at 09:03
posts:9
users:2