Patrick0308 opened a new issue #686: URL: https://github.com/apache/dubbo-go/issues/686
**What happened**: provider服务元数据没有全部发布完成,应用就已经注册到了注册中心,导致consumer订阅时没有拿到完整的元数据。 **How to fix**: 去除`ServiceDiscoveryRegistry`中注册instance的代码,的在config_loader中的loadProviderConfig方法最后注册instance 具体步骤: 1、获取所有注册的`Registry`,过滤出`ServiceDiscoveryRegistry`,拿取所有`ServiceDiscovery`。 2、创建`ServiceInstance` 2、每个`ServiceDiscovery`注册`ServiceInstance`。 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
