Yes,in jconsole the Mbean "kafka.server":type="BrokerTopicMetrics",contains
all the details for all the topics of each machine/broker.

To sum up the number of message for a topic,you will have to go on jconsole
of each broker of your cluster and get the count of MessageIn from each
Mbean "kafka.server":type="BrokerTopicMetrics",name="*topicName*" and add
all the  count value.



On Fri, Nov 15, 2013 at 10:05 PM, Siyuan Hua <hsy...@gmail.com> wrote:

> Yes you can see them in jconsole but you can even see throughput of
> partition.  But no total throughput I think
>
> 发自我的 iPhone
>
> > 在 Nov 15, 2013,8:08 AM,"Maier, Dr. Andreas" <andreas.ma...@asideas.de>
> 写道:
> >
> > Hello,
> >
> > Is it possible to see the list of topics in Kafka using JMX
> > like it is possible using the kafka-list-topic.sh command?
> >
> > In addition is it possible to see the number of messages
> > stored for a topic in kafka using JMX?
> >
> > I couldn't find anything about that in the documentation:
> > http://kafka.apache.org/documentation.html#monitoring.
> >
> > Sincerely,
> > Andreas Maier
> >
>



-- 
*Moniii*

Reply via email to