Re: Trouble with querying offsets when using new consumer groups API

2017-05-30 Thread Hans Jespersen
id >> >> >> >> >> From: Jerry George >> To: users@kafka.apache.org >> Date: 05/26/2017 06:55 AM >> Subject:Trouble with querying offsets when using new consumer >> groups API >> >> >> >> Hi >> >&

Re: Trouble with querying offsets when using new consumer groups API

2017-05-30 Thread Jerry George
ding to a topic partition even > if there is no active consumer consuming from it. > > I hope this helps. > --Vahid > > > > > From: Jerry George > To: users@kafka.apache.org > Date: 05/26/2017 06:55 AM > Subject: Trouble with querying offsets when usin

Re: Trouble with querying offsets when using new consumer groups API

2017-05-30 Thread Vahid S Hashemian
rying offsets when using new consumer groups API 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 --boot

Re: Trouble with querying offsets when using new consumer groups API

2017-05-30 Thread Hans Jespersen
It is definitely expected behavior that the new consumer version of kafka-consumer-groups.sh —describe only returns metadata for ‘active’ members. It will print an error message if the consumer group you provide has no active members. https://github.com/confluentinc/kafka/blob/trunk/core/src/ma

Re: Trouble with querying offsets when using new consumer groups API

2017-05-30 Thread Jerry George
Hi Abhimanyu, No, actually waiting for someone with operational experience to reply on the list. Thank you for bumping the question though :) If anyone in the list has experience increasing the retention or if this is expected behaviour, could kindly suggest an alternative? Regards, Jerry On S

Re: Trouble with querying offsets when using new consumer groups API

2017-05-27 Thread Abhimanyu Nagrath
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 wrote: > Hi > > I had question about the new consumer APIs. > > I am having trouble retrieving the offsets once the consumers are > *disconnected* when using

Trouble with querying offsets when using new consumer groups API

2017-05-26 Thread Jerry George
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*