Yanniiii commented on issue #9293: URL: https://github.com/apache/dubbo/issues/9293#issuecomment-1000096345
@zuonidelaowang 服务自省架构中consumer需要知道接口到应用名的映射,这个映射信息默认由provider在发布服务时添加到配置中心,如果用nacos的话,可以看到一条类型为mapping的配置项。 如果你觉得配置中心压力太大了,可以在provider端设置` use-as-metadata-center: false`,并在consumer的接口处声明该接口对应的应用名,由consumer自己维护这个映射关系,如 ` @DubboReference(providedBy = "spring-boot-demo-provider",version = "1.0.0",group = "group1") ` 希望可以解决你的问题。 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
