Skip to content

Conversation

@dnwe
Copy link
Collaborator

@dnwe dnwe commented Oct 25, 2025

As noted in #3354, messages buffered due to the highWatermark would inadvertently skip the usual sequence number assignment, manifesting as OutOfOrderSequenceException on the broker.

Wrote a functional test to trigger this behaviour and then used the same logic as found in partitionProducer.dispatch() to prevent the problem occurring.

As noted in #3354, messages buffered due to the highWatermark would
inadvertently skip the usual sequence number assignment, manifesting as
OutOfOrderSequenceException on the broker.

Wrote a functional test to trigger this behaviour and then used the same
logic as found in  partitionProducer.dispatch() to prevent the problem
occurring.

Signed-off-by: Dominic Evans <[email protected]>
@dnwe dnwe marked this pull request as ready for review October 26, 2025 06:55
@dnwe dnwe added the fix label Oct 26, 2025
@dnwe dnwe merged commit 35ecd48 into main Oct 26, 2025
17 checks passed
@dnwe dnwe deleted the dnwe/idempotent branch October 26, 2025 11:31
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.

3 participants