incomplete stream from S3Client getObject #4427
Unanswered
KnutKnutson
asked this question in
Q&A
Replies: 2 comments
-
I encountered the same problem, but only for large gzip files (ten thousand lines or more). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @KnutKnutson .
In my case, changing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm attempting to stream a file of concatenated gzip files from s3 (~100mb in size) using version 2.20.109 of the sdk
The kotlin code I'm using looks like
However when iterating the lines, the iterator is stopped (hasNext returns false) before all the lines have been read.
The number of lines read is inconsistent for the same file. Sometimes 18 lines, sometimes 32 or 34, etc.
Does anyone have any guidance on what might be the issue?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions