dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
java.lang.NullPointerException: null at org.apache.dubbo.registry.integration.RegistryProtocol.registerStatedUrl(RegistryProtocol.java:183) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:218) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:62) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:73) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:64) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:494) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:327) ~[dubbo-2.7.10.jar!/:2.7.10] at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:303) ~[dubbo-2.7.10.jar!/:2.7.10] at...
issue: #10558 PR:#10587 # 前言 Triple 是 Dubbo3 提出的基于`HTTP2` 的开放协议。HTTP2基本特性可参考: [一文读懂 HTTP/2 特性](https://zhuanlan.zhihu.com/p/26559480) # 结论 先说结论,本次PR的调优性能提高约`25%`(ClientPb.listUser),与grpc还有一定的差距,仍需持续优化。理论上该改动会大幅度提高一些小报文场景!相关数据后续补充 # 基准测试 由于Triple协议是基于HTTP2来实现的,而grpc同样也是基于HTTP2实现的,那么把grpc作为一个参照对象再好不过。 这里直接使用 [dubbo-benchmark](https://github.com/apache/dubbo-benchmark) 工程做基准测试,了解大致的性能差异。 序列化方式均为`protobuf` ```` Triple (3.1.0) # Warmup Iteration 1:...
- [ ] 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 * Operating System version: windows...
- [ ] 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 java version: 1.8 dubbo version: 2.7.12...
服务暴露 export ,createServer 只会创建一次,但是传入的 url 始终是第一个。 NettyClient 同理。 问题: NettyServer 接收到请求时,netty pipeline 首先就是 编码解码, 而 NettyCodecAdapter 创建一次,持有的url不变。 如果指定某个 interface 的 序列化方式、timeout等 其它扩展参数, 则不起作用,除非 interface 是第一个对外暴露,如果特殊化配置的 interface 对外暴露,则全局都是这种配置。
- [ ] 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 * Operating System version: macos...
最近在学习`Dubbo`源码,当学习到`Dubbo`中有关`EagerThreadPool`相关知识时遇到了一个问题,下面是我的`dubbo-demo`的一些配置:   然后我使用`Jmeter`进行压测,模拟高并发场景   紧接着,使用 `jmeter -n -t`命令执行压测 在这个过程中,会出现 `Dubbo`线程池耗尽的警告信息  ```log [08/09/22 10:13:07:886 CST] NettyServerWorker-3-4 WARN support.AbortPolicyWithReport: [DUBBO] Thread pool is EXHAUSTED! Thread Name: dubbo-demo-annotation-provider-198.18.0.1:20880, Pool Size:...
- [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...
This is my running environment: 2.3.7.RELEASE 2.2.6.RELEASE Hoxton.SR9 When I started the service, I found the following error log. What is the reason?? ``` 2021-11-09 17:50:15.903 service-patient [ main ]...