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,
hence retroactive.

On Feb 16, 2017 9:10 AM, "Manikumar" <manikumar.re...@gmail.com> wrote:

> 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 <neele...@gmail.com> wrote:
>
> > 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" <manikumar.re...@gmail.com> wrote:
> >
> > > Yes, we can change.
> > >
> > > On Thu, Feb 16, 2017 at 7:09 AM, Neelesh <neele...@gmail.com> 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
> > > >
> > >
> >
>

Reply via email to