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/02 01:37:14 UTC

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

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



##########
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:
       @codelipenghui  I have restored the transformation of multitopics consumerimpl.java, and now I only keep the transformation of consumerstatsrecordimpl.java
   




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