-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
[ISSUE apache#6726] Fix bug DefaultMQProducer#request method invoke t… #6730
Conversation
…imeout and No callback after replying message consumption
Codecov Report
@@ Coverage Diff @@
## develop #6730 +/- ##
=============================================
- Coverage 42.66% 42.56% -0.10%
- Complexity 9207 9226 +19
=============================================
Files 1131 1135 +4
Lines 80421 80525 +104
Branches 10511 10523 +12
=============================================
- Hits 34310 34277 -33
- Misses 41822 41975 +153
+ Partials 4289 4273 -16
... and 20 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @haiyanghan , thanks for your effort at first. I probably see what you're trying to do here according to the issue you created, but the meaning of message sending in MQ just simply means that the Broker would return a corresponding response once the message arrived without waiting it to be consumed. Of course, you could detail your thought if I've misunderstood your intention for doing this.
Yes, when the message arrives at the broker, it returns, which is the logic of the original request method. |
Sorry, my English proficiency is not very good and the problem description is not very clear |
@@ -1025,9 +1025,7 @@ public void registerProcessor() { | |||
replyMessageProcessor.registerSendMessageHook(sendMessageHookList); | |||
|
|||
this.remotingServer.registerProcessor(RequestCode.SEND_REPLY_MESSAGE, replyMessageProcessor, replyMessageExecutor); | |||
this.remotingServer.registerProcessor(RequestCode.SEND_REPLY_MESSAGE_V2, replyMessageProcessor, replyMessageExecutor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the SEND_REPLY_MESSAGE_V2
being removed? Will this cause any compatibility issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there may compatibility issues, A better way is to add a new one SEND_REPLY_MESSAGE_V3 request code and RequestCodeProcessor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aaron-ai hi, I have optimized the compatibility issue, Preserved SEND_ REPLY_ MESSAGE
and SEND_ REPLY_ MESSAGE_ V2
request code And the corresponding processor
This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. |
This PR was closed because it has been inactive for 3 days since being marked as stale. |
[ISSUE #6726]