diff --git a/google-cloud-bigtable/pom.xml b/google-cloud-bigtable/pom.xml index 6dd468e778..7d106591d1 100644 --- a/google-cloud-bigtable/pom.xml +++ b/google-cloud-bigtable/pom.xml @@ -179,11 +179,6 @@ io.grpc grpc-core - - io.grpc - grpc-grpclb - runtime - io.grpc grpc-googleapis @@ -698,11 +693,10 @@ maven-dependency-plugin - io.grpc:grpc-auth,io.grpc:grpc-grpclb + io.grpc:grpc-auth io.opencensus:opencensus-impl-core diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java index 339df1dbaf..9535f1d1ae 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java @@ -356,10 +356,7 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi .setMaxInboundMessageSize(MAX_MESSAGE_SIZE) .setKeepAliveTime(Duration.ofSeconds(30)) // sends ping in this interval .setKeepAliveTimeout( - Duration.ofSeconds(10)) // wait this long before considering the connection dead - // Attempts direct access to CBT service over gRPC to improve throughput, - // whether the attempt is allowed is totally controlled by service owner. - .setAttemptDirectPath(true); + Duration.ofSeconds(10)); // wait this long before considering the connection dead } @SuppressWarnings("WeakerAccess")