Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Consumer#getLastMessageId after setting brokerEntryMetadataInterceptors #10952

Closed

Conversation

wuzhanpeng
Copy link
Contributor

Resolved #10950

@BewareMyPower
Copy link
Contributor

Could you add a unit test?

Copy link
Contributor

@hangc0276 hangc0276 left a comment

Choose a reason for hiding this comment

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

  1. There are many places just parse entry data without skip possiable broker metadata, and they may throw exceptions when configured broker metadata interceptor in broker.conf. Woud you please check all the code block and fix them?
  2. Would you please add the tests to cover this case and protect your code?

@hangc0276 hangc0276 added area/broker release/2.8.1 type/bug The PR fixed a bug or issue reported a bug labels Jun 17, 2021
@BewareMyPower
Copy link
Contributor

Close this PR by #10968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker release/2.8.1 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.

Failed to execute Consumer#getLastMessageId when setting brokerEntryMetadataInterceptors
3 participants