kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaufman Ng <kauf...@confluent.io>
Subject Re: monitor consumer offset lag script/code
Date Tue, 30 Jan 2018 14:07:28 GMT
Alternatively, you can dump out the consumer offsets using a command like
this:

kafka-console-consumer --topic __consumer_offsets --bootstrap-server
localhost:9092 --formatter
"kafka.coordinator.group.GroupMetadataManager\$OffsetsMessageFormatter"

On Tue, Jan 30, 2018 at 8:38 AM, Subhash Sriram <subhash.sriram@gmail.com>
wrote:

> Hi Sunil,
>
> Burrow might be of interest to you:
>
> https://github.com/linkedin/Burrow
>
> Hope that helps.
>
> Thanks,
> Subhash
>
> Sent from my iPhone
>
> > On Jan 29, 2018, at 7:40 PM, Sunil Parmar <sunilosunil@gmail.com> wrote:
> >
> > We're using 0.9 ( CDH ) and consumer offsets are stored within Kafka.
> What
> > is the preferred way to get consumer offset from code or script for
> > monitoring ? Is there any sample code/ script to do so ?
> >
> > Thanks,
> > Sunil Parmar
>



-- 
Kaufman Ng
+1 646 961 8063
Solutions Architect | Confluent | www.confluent.io

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message