SuperEdison commented on issue #9661: URL: https://github.com/apache/dubbo/issues/9661#issuecomment-1035962279
去了解下dubbo的服务发现和注册流程,你会发现这是正常情况,消费者的不是一启动就可以调用生产者,他正确的顺序应该是项目启动->通过ReferenceConfig转成Protocol然后再变成Invoker最后会生成代理,而消费者并是不通过代理去调用生产者,而是在注册中心通知消费者生产者可用后回去刷新生产者的Invoker,然后去创建ExchangeClient,才会去生产rpc代理进行调用。 -- 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]
