Re: Changing offsets.retention.minutes

2017-02-16 Thread Neelesh
Thanks. Looking at the code, it looks like for offsetandmeta version > 0, the offset.retention.minutes config is not retroactive either, because the expireTimestamp is set during commit . For older offsetandmeta requests which do not have a commit timestamp, it's computed while loading offsets, hen

Re: Changing offsets.retention.minutes

2017-02-16 Thread Manikumar
Yes, Sorry. I was answering for "log.retention.minutes" config. I think, we also need to update the doc for "offsets.retention.minutes" config. It is not "Log retention window for offsets topic". It is for discarding offsets older than retention period. On Thu, Feb 16, 2017 at 9:56 PM, Neelesh wr

Re: Changing offsets.retention.minutes

2017-02-16 Thread Neelesh
The command succeeds, but does not have an impact. Setting it to a minute does not clear the logs for this topic. The code in GroupMetadataManager also does not seem to support it. On Feb 15, 2017 10:31 PM, "Manikumar" wrote: > Yes, we can change. > > On Thu, Feb 16, 2017 at 7:09 AM, Neelesh wr

Re: Changing offsets.retention.minutes

2017-02-15 Thread Manikumar
Yes, we can change. On Thu, Feb 16, 2017 at 7:09 AM, Neelesh wrote: > Hi, > Can I use the alter topic command to change the offsets.retention.minutes > setting on __consumer_offsets topic while the broker is running? > > Thanks! > -neelesh >

Changing offsets.retention.minutes

2017-02-15 Thread Neelesh
Hi, Can I use the alter topic command to change the offsets.retention.minutes setting on __consumer_offsets topic while the broker is running? Thanks! -neelesh