You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/24 06:30:14 UTC

[GitHub] [dubbo] plusmancn commented on issue #7822: [BUG] Use the multi-registry feature with Nacos registry that set namingLoadCacheAtStart=true, the cache of NacosNamingService will overwrite each other

plusmancn commented on issue #7822:
URL: https://github.com/apache/dubbo/issues/7822#issuecomment-904360359


   ### How to use it.
   Just set `namingCacheRegistryDir` to different sub dir, if you want to avoid `NamingCache` overwriting each other, for example:
   ```xml
   <dubbo:registry id="registryDev" address="nacos://127.0.0.1:8849?namingCacheRegistryDir=sub1"/>
   <dubbo:registry id="registryTest" address="nacos://127.0.0.1:8848?namingCacheRegistryDir=sub2"/>
   ````


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