lizhanhui commented on code in PR #4775:
URL: https://github.com/apache/rocketmq/pull/4775#discussion_r940986091
##########
client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:
##########
@@ -531,6 +534,17 @@ public synchronized void assign(Collection<MessageQueue>
messageQueues) {
}
}
+ public synchronized void setSubExpression4Assign(final String topic, final
String subExpression) {
Review Comment:
Same here
##########
client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:
##########
@@ -121,6 +122,8 @@ private enum SubscriptionType {
private static final long PULL_TIME_DELAY_MILLS_ON_EXCEPTION = 3 * 1000;
+ private ConcurrentHashMap<String/* topic */, String/* subExpression */>
topic2SubExpression = new ConcurrentHashMap<>();
Review Comment:
Same here
--
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]