[Flight][Java] Add optional session headers
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
- Add a client middleware which receives and re-uses a session token from the server.
- Add a server middleware which, when encountering a request with no session header, creates a session on the backend, generates a token for it, and sends the token to the client in a header. The client can re-use this as indicated above.
- If the client has a session header, re-use the same session from the backend (report an error if an invalid session was used).
**Reporter**: [Tiffany Lam](https://issues.apache.org/jira/browse/ARROW-10427) / @tifflhl
**Note**: *This issue was originally created as [ARROW-10427](https://issues.apache.org/jira/browse/ARROW-10427). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
コントリビューションガイド
調査の方向性
まず、request ヘッダーと response ヘッダーを担当する Java クライアントとサーバーのミドルウェアのエントリーポイントを特定し、次にバックエンドセッションと無効なセッションのエラーがどのように表現されているかを追跡します。トークンの作成、再利用、無効なトークンを対象とするために必要なクライアントおよびサーバーの統合テストを定義します。完了の条件は、両方のミドルウェアパスが一貫して同じバックエンドセッションを共有することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api, backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100