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

How does rocketmq return the message to the specified queue when the message is retried? #9066

Open
1 of 2 tasks
ZShUn opened this issue Dec 19, 2024 · 3 comments
Open
1 of 2 tasks

Comments

@ZShUn
Copy link

ZShUn commented Dec 19, 2024

Search before creation

  • I had searched in the issues and found no similar issues.

Documentation Related

When I used queue to implement traffic isolation, I found that the message retry queue was single and could not return to the consumption queue.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@humkum
Copy link
Contributor

humkum commented Dec 19, 2024

Retry messages are only sent to the retry queue of the broker where the message is located. You cannot specify a queue for sending.

@ZShUn
Copy link
Author

ZShUn commented Dec 20, 2024

I don't know why it is designed this way. If you need to implement traffic isolation, it will be difficult to control during the retry phase.

@ZShUn
Copy link
Author

ZShUn commented Dec 20, 2024

If I use Agent to rewrite the result during retry, will it have any effect? ​​For example, rewrite ConsumeMessageConcurrentlyService.this.processConsumeResult(status, context, this); status parameter from RECONSUME_LATER to CONSUME_SUCCESS. Then I implement the retry with different traffic myself, so that RocketMQ internal consumption will be judged as successful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants