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 12:39:03 UTC

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

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


##########
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:
   it's just for convenience, if rocketmq.producer.namespace or rocketmq.pushconsume.namespace is specified, then we don't need to specify in each producer or consumer. if they are both null, it has no effect.



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