There are message-rate mbeans that you can read. You can hook up
something like jconsole/visualvm to your consumer instance and explore
the mbeans. E.g., we have a messages/sec meter for each topic that I
think would help in your case.

Joel

On Mon, Apr 21, 2014 at 03:14:38PM -0700, Kazue Watanabe wrote:
> Hi,
> I am looking for a way to measure time for a consumer to consumer x number
> of messages.
> Basically I would like to compare how much it takes the consumer to consume
> messages and compare them against the number of messages.
> Is there any tool in Kafka to do this? Please let me know.
> 
> Thank you so much in advance,
> Kazue

Reply via email to