As we need to do this programmatically, i tried to strip out the relevant
parts from ConsumerOffsetChecker. It did work.

Thanks for the suggestions.


On Tue, May 12, 2015 at 8:58 PM, Mayuresh Gharat <gharatmayures...@gmail.com
> wrote:

> Well, there is no separate tool available for importing and exporting
> offsets from kafka, which will also provide this functionality. We are
> working on it.
>
> You can try the consumerOffsetChecker as Aditya mentioned.
>
> Thanks,
>
> Mayuresh
>
> On Tue, May 12, 2015 at 8:11 PM, Aditya Auradkar <
> aaurad...@linkedin.com.invalid> wrote:
>
> > Perhaps you could try the ConsumerOffsetChecker. The "Owner" field might
> > be what you want..
> >
> > Aditya
> >
> > ________________________________________
> > From: Bharath Srinivasan [bharath...@gmail.com]
> > Sent: Tuesday, May 12, 2015 7:29 PM
> > To: users@kafka.apache.org
> > Subject: Kafka 0.8.2.1 - Listing partitions owned by consumers
> >
> > Hi,
> >
> > For monitorting purposes, is there a way to find the partitions for a
> topic
> > that are assigned to consumers in a group? We are using high level
> consumer
> > and the offsets are stored in kafka.
> >
> > Tried searching for methods in ZKUtils, but could not find anything that
> > gives this information. Any pointers is appreciated.
> >
> > Thanks.
> >
>
>
>
> --
> -Regards,
> Mayuresh R. Gharat
> (862) 250-7125
>

Reply via email to