-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][client] fix retry topic with exclusive mode. #23859
base: master
Are you sure you want to change the base?
[fix][client] fix retry topic with exclusive mode. #23859
Conversation
And i have a question: why delayed message do not support exclusive type? is it a task that can't be implemented? or a pending task? |
@thetumbled This question has been asked multiple times before and I didn't search for previous answers. I think that one of the reasons is that the semantics of delayed messages hasn't been defined and designed with Failover or Exclusive type. |
I agree with the complexity of the dispatcher. It is too complicate to master this module and it is hard to guarantee that there is nothing wrong when a seemingly good pr is merged. |
Motivation
reconsumeLater
for a message, this message will be produce as a delayed message to the corresponding retry topic.Based on the analysis above, we can come to the conclusion that the consumer of the retry topic must be shared/key-shared.
Modifications
Demand that the subscription type of the retry topic must be shared.
Verifying this change
(Please pick either of the following options)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: