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/11/18 05:47:06 UTC

[GitHub] [dubbo] zuonidelaowang commented on issue #7612: dubbo使用nacos作为注册中心,服务却在nacos的配置列表下展示

zuonidelaowang commented on issue #7612:
URL: https://github.com/apache/dubbo/issues/7612#issuecomment-972558232


   > Dubbo启动的时候默认会把注册中心作为配置中心和元数据中心使用,若不希望有这些数据出现在配置列表里,则在项目配置文件上加上以下两行
   > 
   > ```
   > dubbo.registry.use-as-metadata-center=false
   > dubbo.registry.use-as-config-center=false
   > ```
   
   加上这两个配置,consumer 调用的时候  就找不到 provider
   
   这个问题你遇到过吗?


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