Repository navigation
[ISSUE #506] support send message with arbitrarily delay time - #515
Merged
Merged
Conversation
RongtongJin
reviewed
Jan 17, 2023
RongtongJin
left a comment
Contributor
There was a problem hiding this comment.
It would be better to expose the relevant interfaces of delayTimeMs and deliverTimeMs
Comment on lines
+551
to
+558
| /** | ||
| * Same to {@link #syncSend(String, Object)} with send delayTime specified in addition. | ||
| * | ||
| * @param destination formats: `topicName:tags` | ||
| * @param payload the Object to use as payload | ||
| * @param delayTime delay time in seconds for message | ||
| * @return {@link SendResult} | ||
| */ |
Contributor
There was a problem hiding this comment.
It would be better to remind users that the interface can only take effect on RocketMQ 5.0 servers
Contributor
Author
There was a problem hiding this comment.
ok,I will make it better and try to support batch messages and orderly message both sync and async.
Contributor
|
Hi @zhouchunhai I'm going to merge this pr first, and then release a new version for rocketmq-spring. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
support send message with arbitrarily delay time
Brief changelog
upgrade rocketmq client version to 5.0.0.
add api in RocketMqTemplate to support send message with arbitrarily delay time