You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Damian Guy <da...@gmail.com> on 2015/10/12 18:09:46 UTC

New Consumer - discover consumer groups

Hi,

Assuming i am using the latest kafka (trunk), exclusively with the new
consumer, and i want to monitor consumer lag across all groups - how would
i go about discovering the consumer groups? Is there an API call for this?

Thanks,
Damian

Re: New Consumer - discover consumer groups

Posted by Ben Stopford <be...@confluent.io>.
I double checked with Jun but there is currently no direct API for consumer group discovery. I expect you already know this but you can get a consumer’s offset in the new API. You could also derive the info you need from the offsets topic.

B 


> On 12 Oct 2015, at 17:09, Damian Guy <da...@gmail.com> wrote:
> 
> Hi,
> 
> Assuming i am using the latest kafka (trunk), exclusively with the new
> consumer, and i want to monitor consumer lag across all groups - how would
> i go about discovering the consumer groups? Is there an API call for this?
> 
> Thanks,
> Damian