I checked the stats with jconsole and it confirms the reading I've been getting with jmxtrans so the problem is with the jmx beans themselves I think. The stats just came back to normal again and I don't know why. I haven't made any changes to the kafka brokers.
-----Original Message----- From: Jun Rao [mailto:jun...@gmail.com] Sent: Monday, May 19, 2014 9:45 PM To: users@kafka.apache.org Subject: Re: SocketServerStats not reporting bytes written or read Is the problem with the jmx beans themselves or jmxstats? Thanks, Jun On Mon, May 19, 2014 at 2:48 PM, Xuyen On <x...@ancestry.com> wrote: > Hi all, > > I have an intermittent problem with the JMX SocketServer stats on my > 0.7.2 Kafka cluster. > I'm collecting the SocketServerStats with jmxstats and everything > seems to be working fine except > kafka.SocketServerStats:BytesWrittenPerSecond and > kafka.SocketServerStats:BytesReadPerSecond are not working all the > time. It sometimes will cut out and not report any traffic and then it > will randomly report back normal stats. I've noticed that when I > started a new topic and starting sending data with a new producer, the > stats for bytes written and read will suddenly zero out. Funny thing is that > the other stats seem to still be working fine including cumulative bytes > read and written. > > Does anyone know what might be causing this and how I can fix it? > > Thanks, > > Xuyen > > > >