caigy commented on code in PR #6571:
URL: https://github.com/apache/rocketmq/pull/6571#discussion_r1180284493
##########
store/src/main/java/org/apache/rocketmq/store/CommitLog.java:
##########
@@ -1966,4 +1994,12 @@ public void cleanSwappedMap(long
forceCleanSwapIntervalMs) {
public FlushManager getFlushManager() {
return flushManager;
}
+
+ public static boolean isMultiDispatchMsg(MessageExtBrokerInner msg) {
+ return
!StringUtils.isBlank(msg.getProperty(MessageConst.PROPERTY_INNER_MULTI_DISPATCH))
&& !msg.getTopic().startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX);
Review Comment:
It may be more simple to use `isNotBlank()` directly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]