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

Add maxReconsumeTimes support . #2647

Merged
merged 1 commit into from
Jul 14, 2022
Merged

Conversation

misselvexu
Copy link
Contributor

Describe what this PR does / why we need it

  • Add maxReconsumeTimes support .
  • Add rocketmq-retriable-consume-example usage example.
  • Update spring-cloud-alibaba-examples/rocketmq-example/readme.md doc.

Does this pull request fix one issue?

Fixes #2627 .

Describe how you did it

  • Added maxReconsumeTimes initialization configuration to RocketMQConsumerFactory.
  • Added rocketmq-retriable-consume-example usage example.

Describe how to verify it

  • With rocketmq-retriable-consume-example, check the number of Mock Exceptions and compare it with the configured properties in application.yaml.

Special notes for reviews

None .

Copy link
Collaborator

@yuhuangbin yuhuangbin left a comment

Choose a reason for hiding this comment

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

LGTM

@yuhuangbin yuhuangbin merged commit 9a21f3d into alibaba:2.2.x Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

does the maxReconsumeTimes config really work?
2 participants