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 9cfcc16d7..bd1188156 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 @@ -236,6 +236,8 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi .setKeepAliveTimeout( Duration.ofSeconds(10)) // wait this long before considering the connection dead .setKeepAliveWithoutCalls(true) // sends ping without active streams + // Attempts direct access to CBT service over gRPC to improve throughput, + // whether the attempt is allowed is totally controlled by service owner. .setAttemptDirectPath(true); }