dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
provider service method: ``` public CompletableFuture newToken(NewTokenInfo tReq) { TokenInfo tokenInfo = new TokenInfo(JsonUtils.toJson(tReq), 60); // 可以设置回应附加信息 // RpcContext.getServerResponseContext().setAttachment("testInfo", JsonUtils.toJson(tokenInfo)); // 可以设置回应附加信息 // RpcContext.getServerContext().setAttachment("testInfo", JsonUtils.toJson(tokenInfo)); CompletableFuture completableFuture = new CompletableFuture();...
Problem Description: (1) If the consumer is not configured in lazy mode, use the HeaderExchangeClient object, that is, the consumer directly establishes a connection with the provider during the release...
对于dubbo自定义的http2 流控窗口逻辑有点疑惑. 复现步骤: dubbo version: 3.2.x 1. 调整peer initialize window size from 8M to 64k(65535) 越小越容易复现. 2. provider实现一个大数据返参接口.(如 listUser) TriHttp2RemoteFlowController ```java // FlowState int writeAllocatedBytes(int allocated) { ... try {...
在maven上使用org.apache.dubbo:dubbo-compiler编译proto,但在gradle上却不行 grpc可以通过这个插件来完成编译  dubbo-compiler应该是不负责这个插件规范的 
- [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 There are currently two license annotations in...
>已经解决,原因: org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream#complete 抛出异常 Method threw 'java.lang.NoSuchMethodError' exception. com.google.protobuf.GeneratedMessageV3.isStringEmpty(Ljava/lang/Object;)Z > 因为 mysql8 驱动引入了 protobuf 依赖,和 Dubbo 这块代码冲突,没有使用 protobuf 需求,规约 protobuf 版本即可。但是 Dubbo直接吞掉异常不响应如果可以,最好优化一下 _Originally posted by @iwangjie in https://github.com/apache/dubbo/issues/13688#issuecomment-1912125545_
- [ ] 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.6 * Operating System version: mac...
I got a very long StackTrace as shown below. The process can still run properly though, so it's more like a warning stack. ```java ...more java.lang.reflect.InaccessibleObjectException: Unable to make field...
- [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.3.0-beta.2-SNAPSHOT * Operating System version: macOS 14.1.2...
Provide Protobuf definition for MetadataService for easier cross-language communication. For example, service discovery between dubbo-go and dubbo-java