apache / apache/arrow-java

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

Aperta
#155 1 commento 0 reazioni 1 assegnatario Rivendicata da @rtadepalli Vedi su GitHub
Lingua principale
Java
Stelle
94
Fork
152
Merge medio
3g 16h
PR unite (30g)
11

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.