kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Manna" <manme...@gmail.com>
Subject Re: Where to run kafka-consumer-groups.sh from?
Date Fri, 07 Jul 2017 11:52:09 GMT
kafka-consumer-groups.sh --bootstrap-server broker:9092 --new-consumer
--group service-group --describe

how many brokers do you have in the cluster? if you have more than one,
list them all using a comma csv with --bootstrap-server.

Also, could you paste some results from the console printout?

On 7 July 2017 at 12:47, Dmitriy Vsekhvalnov <dvsekhvalnov@gmail.com> wrote:

> Hi all,
>
> question about lag checking. We've tried to periodically sample consumer
> lag with:
>
> kafka-consumer-groups.sh --bootstrap-server broker:9092 --new-consumer
> --group service-group --describe
>
> it's all fine, but depending on host  we run it from it gives different
> results.
>
> E.g:
>
>   - when running from one of the broker hosts itself we getting close to 0
> figures.
>
>   - when running from remote host, we getting 30-60 in average (i suspect
> there are multiple remote calls to broker involved, so difference due to
> timing).
>
>
> My question is what is correct way to use it? From broker host itself?
>

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