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.
#16
1.使用
MessageBuilder.of(msg).tag("").key("key").topic(topic).build()
,是发现.key("key")
无论怎么设置都无效。修复后改为了,如果有.key()
,把它作为消息的key,如果实体中还有@MQKey
,@MQKey
的内容拼接在其后面。2.实体类中有多个
@MQKey("key")
时,只有最后一个字段的@MQKey("key")
有效,感觉不是很好,改成了如果有多个@MQKey("key")
,就把所有key的内容拼接到一起,成为消息的key。3.为了不和之前版本混淆,版本改为了0.1.1
望及时采纳,发布到中央仓库。