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 2022/04/28 02:45:13 UTC

[GitHub] [dubbo] ailanjieqi opened a new issue, #9977: alibaba包中出现了apache中的包不知道有何考虑org.apache.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url);

ailanjieqi opened a new issue, #9977:
URL: https://github.com/apache/dubbo/issues/9977

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.7
   * Operating System version: all
   * Java version: all
   
   ### Steps to reproduce this issue
   
   1. 使用阿里巴巴的包实现了扩展com.alibaba.dubbo.registry.RegistryFactory,并重写了方法
   org.alibaba.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url)
    
   目前系统数量比较多,升级dubbo3.0.7后编译失败,查看了Dubbo3中的com.alibaba.dubbo.registry.RegistryFactory,类型发现
   这个类型的getRegistry的返回值变了,返回了apache的org.apache.dubbo.registry.Registry
   org.apache.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url);
   
   如果这样搞的话,我这个依赖库中的扩展就无法同时支持新老版本的getRegistry方法了使用了高版本的包重写了getRegistry这个方法低版本的包就无法用我的扩展类型
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   <!-- What do you expect from the above steps?-->
   麻烦兼容下低版本,其他类型做的都挺好的返回值alibaba的包下面就是alibaba的类型 
   
   ### Actual Behavior
   
   <!-- What actually happens? -->
   
   目前alibaba的包中出现 apache的类型 自定义扩展到 同学们的开发的工具包可能是无法兼容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: notifications-unsubscribe@dubbo.apache.org.apache.org

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] chickenlj closed issue #9977: alibaba包中出现了apache中的包不知道有何考虑org.apache.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url);

Posted by GitBox <gi...@apache.org>.
chickenlj closed issue #9977: alibaba包中出现了apache中的包不知道有何考虑org.apache.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url);
URL: https://github.com/apache/dubbo/issues/9977


-- 
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: notifications-unsubscribe@dubbo.apache.org

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] chickenlj commented on issue #9977: alibaba包中出现了apache中的包不知道有何考虑org.apache.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url);

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9977:
URL: https://github.com/apache/dubbo/issues/9977#issuecomment-1118231543

   请协助查看这里的修改能否解决兼容问题 https://github.com/apache/dubbo/pull/9993


-- 
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: notifications-unsubscribe@dubbo.apache.org

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] chickenlj commented on issue #9977: alibaba包中出现了apache中的包不知道有何考虑org.apache.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL url);

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9977:
URL: https://github.com/apache/dubbo/issues/9977#issuecomment-1118142798

   请问你们的基于 alibaba 包的扩展,是直接 implements RegistryFactory 还是 extends AbstractRegistryFactory?


-- 
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: notifications-unsubscribe@dubbo.apache.org

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