-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat: Adds a ZeroCopy response marshaller for grpc ReadObject handling #2489
Conversation
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you purge out the owlbot samples formatting, and readme edits updates? They're adding noise to the PR. Other than that, a few minor things.
...cloud-storage/src/main/java/com/google/cloud/storage/GapicUnbufferedReadableByteChannel.java
Outdated
Show resolved
Hide resolved
...cloud-storage/src/main/java/com/google/cloud/storage/GapicUnbufferedReadableByteChannel.java
Outdated
Show resolved
Hide resolved
...cloud-storage/src/main/java/com/google/cloud/storage/GapicUnbufferedReadableByteChannel.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java
Outdated
Show resolved
Hide resolved
// todo: this is fragile to proto annotation changes, and would require manual | ||
// maintenance | ||
builder.add(request.getBucket(), "bucket", PathTemplate.create("{bucket=**}")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any thoughts on how we can deal with this TODO? (the todo itself doesn't need to be addressed now, just starting the thought exercise)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed FR against GAPIC for this: googleapis/sdk-platform-java#2501
Could point to this in the mean time?
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java
Outdated
Show resolved
Hide resolved
…pcStorageOptions.java Co-authored-by: BenWhitehead <[email protected]>
Co-authored-by: BenWhitehead <[email protected]>
4ffd639
to
4ad2a62
Compare
…haller#close() handling of multiple IOExceptions
google-cloud-storage/src/test/java/com/google/cloud/storage/ZeroCopyMarshallerTest.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/test/java/com/google/cloud/storage/ZeroCopyMarshallerTest.java
Outdated
Show resolved
Hide resolved
No longer blocking. A couple nits, anyone else can approve
Adds a Zero Copy ReadObject marshaller for grpc and some basic tests