You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plain upload it's quite easy. The documentation suggests that parallel upload can be implemented just splitting the original object in chunks and upload them in parallel, then compose all the chunks in a single object.
It's not clear how to perform the compose operation by using the Java API.
Looking at Storage.writer, it doesn't appear that there is a way to get more than one WriteChannel. But I didn't work on that API, @tswast might know more.
Yeah, definitely a new feature for the client libraries to support the compose operation. I don't know enough about how people tend to use Cloud Storage to know if it should be a GA blocker.
Seems like it would be a useful feature for large files.
Activity
garrettjonesgoogle commentedon Dec 1, 2016
I will take a look but I won't be able to get to this immediately.
pditommaso commentedon Jan 24, 2017
Any update on this? Tx
garrettjonesgoogle commentedon Jan 24, 2017
@lesv or @tswast do either of you know?
tswast commentedon Jan 24, 2017
I don't know.
Only sample for uploading I'm aware of is https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/BucketSnippets.java#L227 linked from https://cloud.google.com/storage/docs/object-basics#storage-upload-object-java which doesn't explicitly do a multi-part upload.
pditommaso commentedon Jan 24, 2017
Plain upload it's quite easy. The documentation suggests that parallel upload can be implemented just splitting the original object in chunks and upload them in parallel, then compose all the chunks in a single object.
It's not clear how to perform the compose operation by using the Java API.
lesv commentedon Jan 24, 2017
Looking at
Storage.writer, it doesn't appear that there is a way to get more than oneWriteChannel. But I didn't work on that API, @tswast might know more.tswast commentedon Jan 24, 2017
We don't have any code samples at https://cloud.google.com/storage/docs/composite-objects so my guess is the client libraries don't support it in any language. I'll follow up with Omar.
lesv commentedon Feb 10, 2017
@tswast This seems like it should be a FR, rather than block GA -- thoughts?
tswast commentedon Feb 10, 2017
Yeah, definitely a new feature for the client libraries to support the compose operation. I don't know enough about how people tend to use Cloud Storage to know if it should be a GA blocker.
Seems like it would be a useful feature for large files.
42 remaining items
chore(deps): update dependency com.google.cloud:google-cloud-logging-…
feat: add build scripts for native image testing in Java 17 (googleap…
chore(main): release 2.7.0 (googleapis#876)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
feat: add build scripts for native image testing in Java 17 (#1440) (#…
deps: update dependency com.google.cloud:sdk-platform-java-config to …
feat: add build scripts for native image testing in Java 17 (#1440) (#…
deps: update dependency com.google.cloud:sdk-platform-java-config to …
feat: add build scripts for native image testing in Java 17 (#1440) (#…
chore(main): release 1.119.0 (#1144)
feat: add build scripts for native image testing in Java 17 (#1440) (#…
chore(main): release 1.119.0 (#1144)
feat: add build scripts for native image testing in Java 17 (googleap…
chore(main): release 2.7.0 (googleapis#1228)
fix(java): enable skipped tests for Native Image testing (googleapis#…