You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by nitin agarwal <ni...@gmail.com> on 2020/04/16 13:21:52 UTC

Retention period for __consumer_offsets topic

Hi,

What should be the retention period for __consumer_offsets topic? Should it
be the same as other Kafka topics?

Thanks,
Nitin

Re: Retention period for __consumer_offsets topic

Posted by Sergi Vladykin <se...@gmail.com>.
Is that possible to make __consumer_offsets retention to be size-based
instead of time-based like with "retention.bytes" property?

Sergi

On Sun, Apr 19, 2020 at 12:37 PM Liam Clarke <li...@adscale.co.nz>
wrote:

> Hi Nitin,
>
> Default in Kafka 2.0+ is 7 days, previously it was 24 hours IIRC. Only
> reason you need to change it is if you anticipate having a whole consumer
> group offline for longer than your current retention period for
> debugging/maintenance etc.
>
> Cheers,
>
> Liam Clarke-Hutchinson
>
> On Sun, 19 Apr. 2020, 8:28 pm nitin agarwal, <ni...@gmail.com>
> wrote:
>
> > **BUMP**
> >
> > Thanks,
> > Nitin
> >
> > On Thu, Apr 16, 2020 at 6:51 PM nitin agarwal <ni...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > What should be the retention period for __consumer_offsets topic?
> Should
> > > it be the same as other Kafka topics?
> > >
> > > Thanks,
> > > Nitin
> > >
> >
>

Re: Retention period for __consumer_offsets topic

Posted by Liam Clarke <li...@adscale.co.nz>.
Hi Nitin,

Default in Kafka 2.0+ is 7 days, previously it was 24 hours IIRC. Only
reason you need to change it is if you anticipate having a whole consumer
group offline for longer than your current retention period for
debugging/maintenance etc.

Cheers,

Liam Clarke-Hutchinson

On Sun, 19 Apr. 2020, 8:28 pm nitin agarwal, <ni...@gmail.com> wrote:

> **BUMP**
>
> Thanks,
> Nitin
>
> On Thu, Apr 16, 2020 at 6:51 PM nitin agarwal <ni...@gmail.com>
> wrote:
>
> > Hi,
> >
> > What should be the retention period for __consumer_offsets topic? Should
> > it be the same as other Kafka topics?
> >
> > Thanks,
> > Nitin
> >
>

Re: Retention period for __consumer_offsets topic

Posted by nitin agarwal <ni...@gmail.com>.
**BUMP**

Thanks,
Nitin

On Thu, Apr 16, 2020 at 6:51 PM nitin agarwal <ni...@gmail.com>
wrote:

> Hi,
>
> What should be the retention period for __consumer_offsets topic? Should
> it be the same as other Kafka topics?
>
> Thanks,
> Nitin
>