Skip to content

fix: plumb GrpcInterceptorProvider to constructed InstantiatingGrpcChannelProvider #2031

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

Merged
merged 2 commits into from
May 23, 2023

Conversation

BenWhitehead
Copy link
Collaborator

Provide a default Noop implementation which will only be overridden when a non-noop instance is provided.

Adding a new argument to GrpcStorageOptions was done intentionally such that if/when we need to register our own interceptor we can do so by unioning our provider along with the instance provided to the options. (com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder#setInterceptorProvider will perform an explicit set, overriding any value that might have been previously specified)

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label May 23, 2023
@BenWhitehead BenWhitehead requested a review from a team as a code owner May 23, 2023 21:29
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels May 23, 2023
@BenWhitehead BenWhitehead merged commit bfe0415 into main May 23, 2023
@BenWhitehead BenWhitehead deleted the grpc/interceptor branch May 23, 2023 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants