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 2020/08/02 14:39:27 UTC

[GitHub] [dubbo-go] Patrick0308 opened a new issue #686: 关于provider提前暴露ServiceInstance的解决方案

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:
users@infra.apache.org



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


[GitHub] [dubbo-go] zouyx closed issue #686: 关于provider提前暴露ServiceInstance的解决方案

Posted by GitBox <gi...@apache.org>.
zouyx closed issue #686:
URL: https://github.com/apache/dubbo-go/issues/686


   


----------------------------------------------------------------
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:
users@infra.apache.org



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