Skip to content

Conversation

@twmb
Copy link
Owner

@twmb twmb commented Feb 7, 2026

This allows records to be cancelled via context cancellation, RecordDeliveryTimeout, and RecordRetries even when idempotent production is enabled and records are in-flight. By default the client prevents this to avoid accidental duplicates, but some users prefer time-bounded delivery over guaranteed delivery ("at most once" semantics).

This option is incompatible with transactional IDs.

Closes #1202.

This allows records to be cancelled via context cancellation,
RecordDeliveryTimeout, and RecordRetries even when idempotent production
is enabled and records are in-flight. By default the client prevents
this to avoid accidental duplicates, but some users prefer time-bounded
delivery over guaranteed delivery ("at most once" semantics).

This option is incompatible with transactional IDs.

Closes #1202.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to allow ProduceSync to be cancellable when enable idempotent producer

1 participant