You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/06/01 15:06:13 UTC

[GitHub] [pulsar] codelipenghui commented on a change in pull request #9999: fix #9953, modify the output mode of the log in the ConsumerStatsRecorderImpl.class

codelipenghui commented on a change in pull request #9999:
URL: https://github.com/apache/pulsar/pull/9999#discussion_r643193153



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java
##########
@@ -590,6 +591,10 @@ String getHandlerName() {
         internalConsumerConfig.setSubscriptionName(subscription);
         internalConsumerConfig.setConsumerName(consumerName);
         internalConsumerConfig.setMessageListener(null);
+        // output the org topic name
+        if (null != orgConf && internalConsumerConfig.getTopicNames().isEmpty()) {
+            internalConsumerConfig.getTopicNames().addAll(orgConf.getTopicNames());

Review comment:
       @xuesongxs Can you remove here? I think it will not been used for the PR?




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org