Re: Kafka 0.10.0 MetricsReporter implementation only reporting zeros

2016-09-06 Thread Jun Rao
Michael, One thing to be aware is that if the producer stops sending messages, some of the metrics will be reset to 0 after the metric window elapses. Do you see metric values reported in the reporter different from that in jconsole? Thanks, Jun On Tue, Sep 6, 2016 at 3:03 PM, Michael Ross wro

Kafka 0.10.0 MetricsReporter implementation only reporting zeros

2016-09-06 Thread Michael Ross
I have a very simple Metrics Reporter that implements the Kafka 0.10.0 MetricsReporter interface, that takes in the metrics as a parameter and logs them. When a producer starts to send messages, I can see that it is correctly configured to use the Metrics Reporter I created because it starts to