Kafka Consumer Group Hold Delay

How long does kafka maintain consumer bias after all consumers in this group fail? Is there a configuration variable for this?

+3
source share
3 answers

The correct property name is:

offsets.retention.minutes 

from https://kafka.apache.org/documentation/#brokerconfigs

+4
source

The value can be configured in the kafka broker using:

 offsets.retention.minutes 

The default value is 24 hours.

See the configuration of the Kafka docs broker.

+4
source

I added the following property to the Kafka configuration, it changed the offset storage time by 7 days and worked fine.

offsets.retention.minutes = 10080

enter image description here

0
source

Source: https://habr.com/ru/post/1264919/


All Articles