lukeliujun
lukeliujun
整合后,两个服务做测试,两个服务都是生产者和消费者,想要可以相互调用,但是测试发现,先启动的服务,无法作为消费者去消费后面启动的服务,总是会报异常:No provider available for the service xxx from registry localhost:9090 on the consumer 127.0.0.1 using the dubbo version 2.7.3. Please check if the providers have been started and registered.难道不能想feign那样吗?
两个即是生产者又是消费者的服务ServiceA和ServiceB,ServiceA服务暴露了A接口,ServiceB服务暴露了B接口,ServiceA服务调用B接口,ServiceB服务调用A接口,测试中发现,1、如果先启动ServiceA后启动ServiceB,那么ServiceA无法调用B接口,ServiceB服务可以调用A接口;2、如果先启动ServiceB后启动ServiceA,那么ServiceB无法调用A接口,ServiceA服务可以调用B接口;
@wujincheng2333 不是
The problem has been found. The spring-cloud-alibaba version will have the above problems in 2.1.0.RELEASE, and the service is normal after upgrading to 2.2.0.RELEASE. thank you all!