You need to sum the count from all brokers. Note that count is just one of
the attributes in the mbean. You can also get the rate (per min, per 5 min,
etc), hence the name MessagesInPerSec.

Thanks,

Jun

On Thu, Jan 22, 2015 at 10:54 PM, Bhavesh Mistry <mistry.p.bhav...@gmail.com
> wrote:

> Hi Kafka Team,
>
> I need to count message received by entire Kafka Broker Cluster for a
> particular topic.
>
> I have 3 brokers, so do I need to sum the COUNT metric or just one server
> count reflect all server count.  It seems that count is always increasing
> (although metric name is *MessagesInPerSec* so count does not get reset)
>
> "kafka.server":type="BrokerTopicMetrics",name="topic-MessagesInPerSec"
>
> Please clarify.
>
> Thanks,
> Bhavesh
>

Reply via email to