kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhimanyu Nagrath <abhimanyunagr...@gmail.com>
Subject Re: Trouble with querying offsets when using new consumer groups API
Date Sat, 27 May 2017 12:18:06 GMT
Hi Jerry,

I am also facing the same issue. Did you found the solution?

Regards,
Abhimanyu

On Fri, May 26, 2017 at 7:24 PM, Jerry George <jerrygb@gmail.com> wrote:

> Hi
>
> I had question about the new consumer APIs.
>
> I am having trouble retrieving the offsets once the consumers are
> *disconnected* when using new consumer v2 API. Following is what I am
> trying to do,
>
> *bin/kafka-consumer-groups.sh -new-consumer --bootstrap-server kafka:9092
> --group group --describe*
>
> If I query this when the consumers are connected, there is no problem.
> However, once the consumers are disconnected it says there is no such
> group, though the offsets are retained in __consumer_offsets.
>
> The offset retention policy is default; i.e. 1440 minutes, I believe.
>
> Once the consumers are reconnected, I am able to query the offsets once
> again.
>
> Could anyone here please help me understand why this is?
>
> Kafka: 0.10.1
> Consumer Library: sarama golang library
>
> Regards,
> Jerry
>

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