You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/24 11:40:21 UTC

[GitHub] [rocketmq-spring] ShannonDing commented on a diff in pull request #482: [ISSUE #481] Add defaultNamespace to both producer and consumer . (#481)

ShannonDing commented on code in PR #482:
URL: https://github.com/apache/rocketmq-spring/pull/482#discussion_r953685729


##########
rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQUtil.java:
##########
@@ -326,4 +326,10 @@ public static DefaultLitePullConsumer createDefaultLitePullConsumer(String nameS
 
         return litePullConsumer;
     }
+
+    public static String getNamespace(String specifiedNamespace, String defaultNamespace) {

Review Comment:
   if specifiedNamespace and defaultNamespace are both null. it need not to set name space to container.



-- 
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: dev-unsubscribe@rocketmq.apache.org

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