redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

Support offset.retention.minutes

Open twmb opened this issue 4 years ago • 1 comments

Kafka expires group offsets differently depending on which OffsetCommit request version is used.

v0: zookeeper based, out of scope v1, with commit timestamp: commit timestamp + offset.retention.minutes v1, no commit timestamp: current time + offset.retention.minutes v2 thru v4: current time + request's retention milliseconds, or current time + offset.retention.minutes if retention ms is empty v5+: offset.retention.minutes, only when the group is empty

Redpanda does not support offset.retention.minutes, meaning offsets do not expire if the request is v5+. This will lead to an ever growing amount of compacted offsets for dead groups.

We should support offset.retention.minutes following the same semantics that exist in Kafka today.

JIRA Link: CORE-782

twmb avatar Nov 08 '21 21:11 twmb

This issue hasn't seen activity in 3 months. If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

github-actions[bot] avatar Jun 09 '25 06:06 github-actions[bot]

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

github-actions[bot] avatar Jun 23 '25 06:06 github-actions[bot]