Skip to content

[fix][client] Messages with inconsistent consumer epochs are not filtered when using batch receive and trigger timeout. - #17318

Merged
codelipenghui merged 12 commits into
apache:masterfrom
shibd:refactor_consuemr_br
Oct 11, 2022
Merged

codelipenghui merged 12 commits into
apache:masterfrom
shibd:refactor_consuemr_br

Conversation

@shibd

@shibd shibd commented Aug 28, 2022 •

Copy link
Copy Markdown
Member

Motivation

Messages with inconsistent consumer epochs are not filtered when using batch receive and trigger timeout.

Modifications

  • Add consumer epoch on notifyPendingBatchReceivedCallBack.
  • Reuse notifyPendingBatchReceivedCallBack logic.

Verifying this change

  • testBatchReceiveRedeliveryAddEpoch unit test covers the scene.

Documentation

  • doc-not-needed

Matching PR in forked repository

shibd#16

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/client doc-not-needed Your PR changes do not impact docs type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants