There is indeed a per-topic metric for bytes in and bytes out. Should be named as [TopicName]BytesInPerSec, etc.
Server does monitor bytes out rate whenever it sends any responses to consumer/producer clients. Guozhang On Fri, Jul 11, 2014 at 3:38 AM, ravi singh <rrs120...@gmail.com> wrote: > Hi Kafka Users, > > Is it possible to monitor the number of messages in and out for per topic > on broker side. > > Their is a MBean for "AllTopicsMessagesInPerSec" but I couldn't find > anything on per topic basis. > > Also what does the "Byte out rate" MBean indicates , because as per my > understanding only the consumer maintains the offset based on message it > has consumed so nothing actually comes out of broker, all the messages are > being retained in the broker for specified interval. > > -- > *Regards,* > *Ravi* > -- -- Guozhang