cadeeper opened a new issue #9557: URL: https://github.com/apache/dubbo/issues/9557
### 问题描述 如果提供者是2.6.x,消费者是3.x,并且有提供分组和未分组两类提供者,那么会出现**Not found exported service**异常 ### 可能的原因 UrlUtils.isMatch方法中,会通过验证consumer的group和provider的group是否一致,来匹配对应提供者。 如果提供者是2.6.3,他的url中的group会是null值,在3.x中,providerURL实现为:**ServiceAddressURL**,在ServiceAddressURL中获取group分组时,**_如果group为null,那么他会取 consumer的分组_**,这样会导致有分组的消费者会匹配到正常的分组提供者和没有分组的提供者。 #### 问题 1、 如果获取不到提供者分组,则获取消费者分组的原因是? 2、 3.x是否可以兼容低版本的dubbo? -- 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]
