(1) Those metrics are only reported on brokers that are the leader of some partitions.
(2) Which jmx collector are you using? Thanks, Jun On Wed, Jul 30, 2014 at 1:12 PM, Kiran Nagasubramanian <[email protected]> wrote: > Hello, > > We're collecting the JMX metrics from the Kafka brokers. We're seeing a > couple of issues. Could someone please throw some light if you've come > across something similar? > > 1) We have a 3 broker Kafka cluster and when we're trying to collect the > metrics like messages in per sec, bytes in per sec, etc. we get the values > as 0 for one of the three brokers. But we get proper values for metrics > like heap memory usage for all the brokers. When we restart the cluster, > the same or some other broker would behave in a similar way. > > We're seeing similar behavior in another cluster as well. > > 2) We're logging the time it takes to collect the metrics. The time to > collect seems to increase over time and crosses a minute in a couple of > days. It's of the order of 1 or 2 seconds when start the cluster. > > Thanks. >
