ShannonDing commented on code in PR #4775:
URL: https://github.com/apache/rocketmq/pull/4775#discussion_r937519054
##########
client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:
##########
@@ -531,6 +533,17 @@ public synchronized void assign(Collection<MessageQueue>
messageQueues) {
}
}
+ public synchronized void setSubExpression4Assgin(final String topic, final
String subExpression) {
+ if (subExpression == null || "".equals(subExpression)) {
Review Comment:
StringUtils.isEmpty is suggested.
--
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]