Skip to content

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

Description

@lidavidm

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions