You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "XXMY (via GitHub)" <gi...@apache.org> on 2023/03/21 06:29:44 UTC

[GitHub] [dubbo] XXMY commented on issue #9681: why use registry config's group as config center's namespace

XXMY commented on issue #9681:
URL: https://github.com/apache/dubbo/issues/9681#issuecomment-1477342222

   > > private ConfigCenterConfig registryAsConfigCenter(RegistryConfig registryConfig) {
   > > ...
   > > // is it possible a misset?
   > > cc.setNamespace(registryConfig.getGroup());
   > > ...
   > > }
   > 
   > Actually, it's a legacy issue and we do this mainly for compatibility purposes. `group` was designed in Registry to work for almost the same purpose as `namespace` in most config center products, for example, Nacos. Nacos has both `namespace` and `group`, with `namespace` being used as a concept to isolate two totally different users or environments while `group` being used as a method to further group configuration items within the same `namespace`.
   
   the problem is we have to set nacos's namespace id equals to namespace, otherwise, nacos's auth will be failed, cause it only use namespace id in authentication.


-- 
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: notifications-unsubscribe@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org