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.sri...@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 <sunilosu...@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