Skip to content

fix(producer): honour Retry.Backoff in idempotent retryBatch#3557

Merged
dnwe merged 1 commit into
mainfrom
dnwe/idempotent
May 18, 2026
Merged

fix(producer): honour Retry.Backoff in idempotent retryBatch#3557
dnwe merged 1 commit into
mainfrom
dnwe/idempotent

Conversation

@dnwe
Copy link
Copy Markdown
Collaborator

@dnwe dnwe commented May 18, 2026

The idempotent retry path dispatches the produce set straight to the broker, bypassing partitionProducer.dispatch where Retry.Backoff and Retry.BackoffFunc are normally applied. When a broker is temporarily unavailable this caused retries to be exhausted in microseconds.

Fixes #2469

@dnwe dnwe added the fix label May 18, 2026
The idempotent retry path dispatches the produce set straight to the
broker, bypassing partitionProducer.dispatch where Retry.Backoff and
Retry.BackoffFunc are normally applied. When a broker is temporarily
unavailable this caused retries to be exhausted in microseconds.

Fixes #2469

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe dnwe force-pushed the dnwe/idempotent branch from 1bbb240 to 103ee11 Compare May 18, 2026 16:04
Copy link
Copy Markdown
Collaborator

@hindessm hindessm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Collaborator

@puellanivis puellanivis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also LGTM

@dnwe dnwe merged commit 4009ac0 into main May 18, 2026
18 checks passed
@dnwe dnwe deleted the dnwe/idempotent branch May 18, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

backoff param in idempotent producer has no effect when broker unavailable

3 participants