[Flight] Make it possible to use native gRPC Java APIs, and/or simplify the implementation
未关闭
Type: enhancement
- 主要语言
- Java
- 星标
- 94
- 派生
- 152
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 11
描述
### Describe the enhancement requested
https://github.com/grpc/grpc-java/pull/10318 introduces a new type of blocking stub in grpc-java which handles streaming calls. This could drastically simplify DoGet/DoPut/DoExchange which try to present blocking interfaces to nonblocking APIs. However, preferably we would make it possible to use gRPC APIs directly instead of making users wait for us to wrap new APIs in even less documented new APIs. Also, it's not clear that this simplifies the server side at all (unfortunately).
贡献指南
调研方向
首先审查 grpc-java PR 10318 以及 issue 中描述的 Flight DoGet、DoPut 和 DoExchange 接口。比较使用原生阻塞式 streaming API 与当前 wrappers 的方案,同时考虑服务器端的影响。完成应意味着明确选择了一种方案,该方案要么支持直接使用 gRPC API,要么能够明确简化实现。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- grpc, java
- 领域
- api, backend-api-design
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100