-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix seek at batchIndex level receive duplicated messages (#11826)
Fixes #11825 ### Motivation If AcknowledgmentAtBatchIndexLevelEnabled, consumer may receive duplicated messages after seek to batchIndex. This pull request tries to resolve this problem. ### Modifications Set the `duringSeek` before reveived seek response. ### Verifying this change This change added tests and can be verified as follows: SubscriptionSeekTest.testSeekForBatchMessageAndSpecifiedBatchIndex
- Loading branch information
1 parent
1d5403e
commit fe4cd09
Showing
2 changed files
with
91 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters