fuyou001 commented on code in PR #10064:
URL: https://github.com/apache/rocketmq/pull/10064#discussion_r2756695669
##########
broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:
##########
@@ -136,25 +148,58 @@ public RemotingCommand processRequest(final
ChannelHandlerContext ctx,
int randomQ = random.nextInt(100);
boolean hasMsg = false;
BrokerConfig brokerConfig = brokerController.getBrokerConfig();
+
+ SubscriptionData subscriptionData = null;
+ ExpressionMessageFilter messageFilter = null;
+ if (brokerConfig.isUseMessageFilterForNotification() &&
requestHeader.getExp() != null && !requestHeader.getExp().isEmpty()) {
Review Comment:
Consider using StringUtils.isNotEmpty()
--
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]