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/02/08 00:56:44 UTC

[GitHub] [pulsar] BewareMyPower commented on a change in pull request #9520: [C++] Remove namespace check for MultiTopicsConsumerImpl

BewareMyPower commented on a change in pull request #9520:
URL: https://github.com/apache/pulsar/pull/9520#discussion_r571730193



##########
File path: pulsar-client-cpp/lib/PatternMultiTopicsConsumerImpl.cc
##########
@@ -33,7 +33,9 @@ PatternMultiTopicsConsumerImpl::PatternMultiTopicsConsumerImpl(ClientImplPtr cli
       patternString_(pattern),
       pattern_(std::regex(pattern)),
       autoDiscoveryTimer_(),
-      autoDiscoveryRunning_(false) {}
+      autoDiscoveryRunning_(false) {
+    namespaceName_ = TopicName::get(pattern)->getNamespaceName();
+}

Review comment:
       Did you mean code format?




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