dubbo-admin icon indicating copy to clipboard operation
dubbo-admin copied to clipboard

dubbo-2.7.9,注册消费者的时候会把group拼到接口前面,导致找不到对等的提供者。

Open JayeShen opened this issue 4 years ago • 5 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.9
  • Operating System version: win10
  • Java version: 1.8

dubbo-2.7.9,注册消费者的时候会把group(dubbo/dat)拼到接口前面,导致找不到对等的提供者。 导致调取服务的时候,显示没有提供者.版本退回2.7.6没问题.

image

JayeShen avatar Mar 31 '21 08:03 JayeShen

你的provider是2.7.6,customer者是2.7.9的版本嘛

zhongxiongzeng avatar Mar 31 '21 10:03 zhongxiongzeng

你的provider是2.7.6,customer者是2.7.9的版本嘛

是的,因为公司微服务比较多,所以不可能一次性都切到2.7.9,就算用docker,所以想使用2.7.9的消费者调2.7.6的提供者,结果出了这个问题。

JayeShen avatar Mar 31 '21 10:03 JayeShen

dubbo/dat是我注册中心的一个group image

JayeShen avatar Apr 01 '21 10:04 JayeShen

Sorry, I missed it just now, I will check the code now.

xiaoheng1 avatar Apr 01 '21 10:04 xiaoheng1

@JayeShen I understand this is just a display problem. In service subscription and publishing, it is based on url. Can you provide a demo?

xiaoheng1 avatar Apr 01 '21 12:04 xiaoheng1