apache / apache/arrow-java

[Java][FlightRPC] FlightServer builder should store File, not InputStream

Open
#155 1 comment 0 reactions 1 assignee Claimed by @rtadepalli View on GitHub
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

### Describe the bug, including details regarding any error messages, version, and platform.

Methods like useTls and useMTlsClientVerification should store a File instead of opening the file immediately, then at build time we can open the file and make sure to close the input stream (as required by Netty). This minimizes the logic in the builder setters. Followup for apache/arrow#38461

### Component(s)

FlightRPC, Java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.