-
Notifications
You must be signed in to change notification settings - Fork 910
2.1.0: Cannot Read S3 File Contents as InputStream Directly #873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for reporting and I was able to reproduce the issue. Investigating |
It turns out that Will create a PR to fix the bug. |
Version 2.1.3, Have simmilar problem with this code:
When I run my test with Gradle, I have this exception:
|
@caiiiycuk This seems like a different issue because the sample code is using async client, could you open another issue for better tracking? I will investigate it in the meantime. |
Yes sure, I will do this on Monday. I want to look deep into it, because something very strange is happening. |
…918952b9 Pull request: release <- staging/a7270fcf-c2b4-433a-bf5c-6a9e918952b9
I have a
java.util.Properties
object which is loaded with data from a file in S3 via the overloadedProperties#load
method that accepts anInputStream
. In every2.0.0-preview-X
release of the SDK, the following snippet of code works perfectly:However, in
2.1.0
, the following exception is thrown:A temporary solution that I've found is to use the following:
However, I suspect that the above snippet loads the contents of the file into memory, which some users may not want to occur if working with large files.
Environment:
Please let me know if I can provide any more information.
Thank you!
The text was updated successfully, but these errors were encountered: