Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcp-observability: Fix transitive gRPC versions
google-cloud-logging brings in xds, services, and netty-shaded versions 1.43.2. grpc-netty-shaded and xds use internal APIs, so their version needs to align with grpc-api and grpc-core. OpenCensus stackdriver components also brings in netty-shaded version 1.27.2, but it was later in the dependency list so google-cloud-logging's versions won out even if using Maven. We don't need an explicit dependency on netty-shaded because xds depends on it transitively. This was discovered because our GAE interop test failed in the course of PR #9858 which added grpc-gcp-observability to interop-testing (and thus also gae-interop-test): ``` Caused by: java.lang.AbstractMethodError: io.grpc.ManagedChannelProvider.getSupportedSocketAddressTypes()Ljava/util/Collection; at io.grpc.ManagedChannelRegistry.newChannelBuilder(ManagedChannelRegistry.java:186) at io.grpc.ManagedChannelRegistry.newChannelBuilder(ManagedChannelRegistry.java:155) at io.grpc.Grpc.newChannelBuilder(Grpc.java:101) at io.grpc.testing.integration.LongLivedChannel.<init>(LongLivedChannel.java:44) ... 44 more ```
- Loading branch information