dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
各位专家们好: 最近项目组需要把一些存量的dubbo接口同时发布rest接口,遇到了以下2个问题: 1.对于单参数的接口,可以通过@Path等注解同时发布rest协议,但是对于多参数接口,例如 Test test(Test test1, Test test2); 这样的接口,在不修改入参类型的前提下,暂时没找到方法进行反序列化(除非新建一个类,把test1、test2包装一下,但这种做法修改了入参类型); 2.dubbo协议接口的参数可以定义为父类,消费者调用时,可以传入具体的子类,生产者可以反序列化成具体的子类,但是rest协议无法支持这种接口。 对于以上2个问题,好像可以通过实现resteasy的反序列化spi的方式进行解决。请问在dubbo框架中,有相关的解决方法吗?或者专家们有什么更好地建议吗?
- [x] 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.10 * Operating System version: mac *...
AbstractRegistry.doSaveProperties()虽然采用文件锁、版本号以及重试等方式对竟争场景做了处理,但是在竟争文件锁失败创建重试任务时,没有sleep,仍会有概率出现上一个版本保存操作还没有释放锁,新版本重试次数达到上限导致新版本数据没有保存到cache文件的情况。 ### Environment * Dubbo version: 3.05 * Java version: 1.8 ### Steps to reproduce this issue 1. 延长AbstractRegistry.doSaveProperties() 中文件锁的持有时间 2. 在consumer中创建多个DubboService的Reference 3. 短时间内同行时修改DubboService 的Provider侧信息 Pls. provide [GitHub address] to...
- [x] 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: 2.7.6及以后 * Operating System version: windows 10...
- [x] 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.9 * Operating System version: windows +...
## What is the purpose of the change fix https://github.com/apache/dubbo/issues/10238
- [ ] 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.6 * Operating System version: MacOS...
unexport add remove config
- [x] 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: 2.7.12 * Operating System version: win10 *...
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. - [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository...