Hi Abhinav,
Thanks for the KIP. This is a nice improvement which fits in well. I
see that the way you have done the broker configurations doesn't match
what we've done before (there's no max-max), but I think that what
you've done is fine and less complicated.

A few comments from an initial review.

AS1) Typo "ype" instead of "Type" in the group config table.

AS2) If the broker configuration group.share.max.release.backoff.ms
is intended as a way to disable redelivery delays, please call it out as
a dynamic broker config so the code is written accordingly.

AS3) In the section on lag, you say "so they count as lag". I suggest
that "remain in-flight" would be more elegant.

AS4) I wonder whether another way to do the configuration might be
to replace share.release.backoff.exponential.enable with
share.release.backoff.mode with three values:

  off (default)
  fixed - Every wait is share.release.backoff.ms without jitter
  exponential - what you've written for the exponential case

The reason I suggest this is that we could have a non-zero
share.release.backoff.ms value (say 2000ms) which acts as a suggested
starting point for a backoff delay. The default exponential backoff
delay would then be 2000+4000+8000+16000 = 30000ms, and all a user
would have to set is `share.release.backoff.mode=exponential`. Wdyt?

Thanks,
Andrew


On 2026-11-12 06:57 UTC Abhinav Dixit via dev wrote:
> Hi all,
> I'd like to start a discussion on KIP-1395, which allows a share group to
> introduce a delay and optional exponential backoff capability within its
> redelivery model.
> 
> Today, a released or expired record becomes available for redelivery as
> soon as its lock clears, there is no way to slow down or space out retries
> per share group. This KIP adds a per-group config for how long a record is
> unavailable for fetching after an explicit release or record expiry. It
> also adds an optional exponential-backoff mode that increases this delay as
> a record's delivery count grows, up to a bounded maximum.
> 
> 
> Looking forward to your feedback.
> 
> KIP link -
> https://cwiki.apache.org/confluence/spaces/KAFKA/pages/462817066/KIP-1395+Redelivery+delay+and+backoff+for+share+groups
> 
> 
> JIRA link - https://issues.apache.org/jira/browse/KAFKA-21482
> 
> 
> Thanks,
> Abhinav
> 

Reply via email to