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 <dvsekhval...@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?
>

Reply via email to