mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[GH-ISSUE #84] Multi-part upload isn't supported in all cases #17
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nhoughto on GitHub (Sep 28, 2019).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/84
Using the Java SDK in this fashion
bucketStorage.create(BlobInfo.newBuilder(bucketInfo, fullKey).build(), inputstream);Appears to send data using an unsupported mechanism, gives this error:
@nhoughto commented on GitHub (Sep 28, 2019):
I see looking through the code that there is a section for multipart uploads, possibly multi part uploads from the java sdk behave slightly differently?
Is there a way to enable more logging to give you more information?
@nhoughto commented on GitHub (Sep 29, 2019):
Ah this is because the java sdk sending protobuf/grpc by default, not JSON. Trying to figure out if can configure it to use JSON instead.. there is this sdk that is deprecated
https://developers.google.com/api-client-library/java/apis/storage/v1
@nhoughto commented on GitHub (Sep 30, 2019):
Works with old java sdk with gzip disabled 👍
@nhoughto commented on GitHub (Oct 11, 2019):
@fsouza Any plan for adding a gRPC interface to this? This was the cause of my java sdk problems in the end.
@fsouza commented on GitHub (Oct 11, 2019):
@nhoughto I believe this would be way more complex. I don't have any plans right now, but I also don't have enough information. I can investigate and write down my findings.
@nhoughto commented on GitHub (Oct 11, 2019):
Ok that would be great, grpc appears to be the future for gcp apis, only the deprecated GCS library does JSON now. So someone is going to have to do it eventually 😉.
And you appear to be the only project out there solving this problem! 🤞🏼
@DanieleSassoli commented on GitHub (Nov 28, 2019):
@fsouza any chance you looked into this? I'm hitting the same issue and not really in a position where I can use the deprecated SDK, it'd be great if this could work as, as @nhoughto says, you're the only one providing a docker emulator for gcs.