[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