kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arunim Chopra <aruni...@gmail.com>
Subject Re: Alternative of (kafka-consumer-groups.sh --describe) in java clients library to get consumer lag
Date Fri, 01 Mar 2019 13:19:39 GMT
Hi Randall,
There are many monitoring tools which gives the exact information as
*kafka-consumer-groups.sh
--describe. *I do not know how they are doing it. I have explored Kafka
Admin Client as well. There we have a *describeConsumerGroups() *api but it
does not give us the consumer lag. I am able to get client id committed
offsets from kafka admin client but I do not know how to get topic log end
offsets without creating a consumer for each partition. There should be
direct way to get that.

Regards,
Arunim Chopra

On Fri, 1 Mar 2019 at 18:43, Randall Svancara <rsvancara@whitepages.com>
wrote:

> I see what you mean now.  I have not seen anything like this as well.
> That would be very useful.
>
> ´╗┐On 3/1/19, 5:12 AM, "Arunim Chopra" <arunim29@gmail.com> wrote:
>
>     Hi Randall,
>     I think Burrow tracks the consumer lags of group ids and not client ids
>     within the group ids. I need the consumer lag of each client id as well
>     like *kafka-consumer-groups.sh --describe *gives but I have not found
> any
>     alternative of this command in java clients library.
>     Regards,
>     Arunim Chopra
>
>     On Fri, 1 Mar 2019 at 17:50, Randall Svancara <
> rsvancara@whitepages.com>
>     wrote:
>
>     > There is a tool called burrow that can do this.  It requires a bit
> more
>     > setup and has a GUI web interface.
>     > https://github.com/linkedin/Burrow
>     >
>     > Get Outlook for Android<https://aka.ms/ghei36>
>     >
>     > ________________________________
>     > From: Arunim Chopra <arunim29@gmail.com>
>     > Sent: Friday, March 1, 2019 3:46:59 AM
>     > To: users@kafka.apache.org
>     > Subject: Alternative of (kafka-consumer-groups.sh --describe) in java
>     > clients library to get consumer lag
>     >
>     > Hi ,
>     > I want to know if there is any alternative of
> (kafka-consumer-groups.sh
>     > --describe) in java clients library so that I can get consumer lag
> per
>     > client id.
>     >
>     > Regards,
>     > Arunim Chopra
>     >
>
>
>

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