dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
- [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.1.0 * Java version: 1.8.0 ### Steps...
Fix the OverrideListener coverage problem of multiple dubboServices when exporting dubbo applications. Because registryUrl is used as the key, only one dubboService can listen to the configuration when the dynamic...
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. - [ ] I have searched the [release notes](https://github.com/apache/dubbo/releases) of this...
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## Ask your question here 在Dubbo 3.x中只支持了部分2.x中的协议;这样的话我们之前使用到其它协议的项目升级3.0就需要先切换协议,后升级框架,最后按照推荐还需要再切换为triple协议,然后变更注册方式为application,这样是不是走了很多弯路? 如果2.x能直接支持Triple协议的话,就简单很多了。
1. 配置不同策略的Bean(同一个服务) ```java @Configuration public class ReferenceConfiguration { @Bean @DubboReference(interfaceClass = IdGeneratorService.Iface.class, version = "1.0", timeout = 5000, cluster = "hint") public ReferenceBean idGeneratorService1() { return new ReferenceBean(); } @Bean...
问题发现在dubbo2.5.x,初步分析dubbo3应该同样存在。 问题场景: 消费方和提供方默认的通信SPI均切换到netty4,消费方侧reference配置async=true。在如下的代码场景: Pojo a = new Pojo(); a.setName("zhangsan"); aysncService1.serve(a); Future f1 = RpcContext.getContext().getFuture(); a.setName("lisi"); aysncService2.serve(a); Future f2 = RpcContext.getContext().getFuture(); f1.get()+"--"+f2.get(); 其中aysncService1和aysncService2两个服务引用均采用异步的配置,在netty4场景下,aysncService1.serve(a),传递给提供方的a对象,属性也编程lisi了,在netty3作为通信组件时,不存在该问题。 初步分析:由于netty4和netty3在客户端的线程模型上有较大的改动。netty3会先将数据序列化后交给nioworker,netty4中直接将对象打包到给nioworker的任务队列,在数据发送时才触发序列化。 解决思路:异步场景发送前对报文深拷贝后丢给任务队列,或者 将序列化前移到业务线程。
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. - [x] I have searched the [release notes](https://github.com/apache/dubbo/releases) of this repository and...
## What is the purpose of the change ## Brief changelog ## Verifying this change ## Checklist - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo/issues) field for the change (usually...
- 环境版本为 spring boot 2.1.3.RELEASE、 jdk8、dubbo2.7.15, - 尝试升级后,网上查询许久无果,报错堆栈如下,请问下该如何排查解决 ``` org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty web server at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:157) ~[spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE] at...
2022-09-30 11:14:35.022 ERROR 71284 --- [ main] o.a.dubbo.common.timer.HashedWheelTimer : [DUBBO] You are creating too many HashedWheelTimer instances. HashedWheelTimer is a shared resource that must be reused across the JVM,so that...