The producer has a "failedToSend" jmx, which includes all kinds of errors.
We don't have the message rate per partition.

Thanks,

Jun


On Wed, May 28, 2014 at 11:41 AM, Bhavesh Mistry <mistry.p.bhav...@gmail.com
> wrote:

> Hi Kafka Group,
>
> I need to get following metrics from the producer side.
>
> I am able to get following metric using the ProducerTopicMetrics class per
> minute.
> messageRate
> byteRate
> droppedMessageRate
>
> I would like to know how to get above metric per topic per partition.
> Also, how do I get count of number of exception occurred due to
> kafka.common.MessageSizeTooLargeException, or Network
> Down or message rejected due to Broker being down etc.    Is there a JMX or
> any other bean to get this metric counter ?
>
> We are using Kafka version 0.8.0
>
> Thanks,
>
> Bhavesh
>

Reply via email to