kennknowles opened a new issue, #18797:
URL: https://github.com/apache/beam/issues/18797
```
FileChannel channel = new FileInputStream(file).getChannel();
ByteBuffer readBuffer =
ByteBuffer.allocate(bufferSize);
while (!responseObserver.isTerminal() && channel.position()
< channel.size()) {
readBuffer.clear();
channel.read(readBuffer);
```
The channel should be closed before returning from get()
Imported from Jira
[BEAM-3935](https://issues.apache.org/jira/browse/BEAM-3935). Original Jira may
contain additional context.
Reported by: [email protected].
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]