From 2606c9297b56cb4feff9c927bce25971be65f114 Mon Sep 17 00:00:00 2001 From: mohanli-ml Date: Mon, 18 Dec 2023 21:32:42 +0000 Subject: [PATCH 1/5] fix: remove grpclb --- .../data/v2/stub/EnhancedBigtableStubSettings.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 cffd9c85df..1eea52ef0b 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 @@ -326,10 +326,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") @@ -654,8 +651,7 @@ private Builder() { sampleRowKeysSettings .setRetryableCodes(IDEMPOTENT_RETRY_CODES) .setRetrySettings( - IDEMPOTENT_RETRY_SETTINGS - .toBuilder() + IDEMPOTENT_RETRY_SETTINGS.toBuilder() .setInitialRpcTimeout(Duration.ofMinutes(5)) .setMaxRpcTimeout(Duration.ofMinutes(5)) .build()); From bb8af20b533ff055d6424513622dbc224ecee2b9 Mon Sep 17 00:00:00 2001 From: mohanli-ml Date: Mon, 18 Dec 2023 21:40:28 +0000 Subject: [PATCH 2/5] fix: remove grpclb --- .../bigtable/data/v2/stub/EnhancedBigtableStubSettings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 1eea52ef0b..48ef1a78dc 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 @@ -651,7 +651,8 @@ private Builder() { sampleRowKeysSettings .setRetryableCodes(IDEMPOTENT_RETRY_CODES) .setRetrySettings( - IDEMPOTENT_RETRY_SETTINGS.toBuilder() + IDEMPOTENT_RETRY_SETTINGS + .toBuilder() .setInitialRpcTimeout(Duration.ofMinutes(5)) .setMaxRpcTimeout(Duration.ofMinutes(5)) .build()); From 46013f361f3a8aa035dc0021a16e73f1eb16e29f Mon Sep 17 00:00:00 2001 From: mohanli-ml Date: Thu, 18 Apr 2024 20:23:35 +0000 Subject: [PATCH 3/5] fix: remove grpclb --- google-cloud-bigtable/pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/google-cloud-bigtable/pom.xml b/google-cloud-bigtable/pom.xml index 311345f2d9..7dd37aa74c 100644 --- a/google-cloud-bigtable/pom.xml +++ b/google-cloud-bigtable/pom.xml @@ -188,11 +188,6 @@ io.grpc grpc-core - - io.grpc - grpc-grpclb - runtime - io.grpc grpc-googleapis From 80d3fd77456fd4075aa00eb70c6f03ee86dfcfd3 Mon Sep 17 00:00:00 2001 From: mohanli-ml Date: Fri, 19 Apr 2024 21:15:02 +0000 Subject: [PATCH 4/5] fix: remove grpclb --- google-cloud-bigtable/pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/google-cloud-bigtable/pom.xml b/google-cloud-bigtable/pom.xml index 7dd37aa74c..a87829d756 100644 --- a/google-cloud-bigtable/pom.xml +++ b/google-cloud-bigtable/pom.xml @@ -702,11 +702,10 @@ maven-dependency-plugin - io.grpc:grpc-auth,io.grpc:grpc-grpclb + io.grpc:grpc-auth io.opencensus:opencensus-impl-core From 5596947f6a5ef89b89edf760a0864dfffdf50b47 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 11 May 2024 13:56:17 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 72121d40b5..a6af30efc1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.37.0 + 26.25.0 pom import @@ -50,20 +50,20 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.37.0') +implementation platform('com.google.cloud:libraries-bom:26.39.0') implementation 'com.google.cloud:google-cloud-bigtable' ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigtable:2.38.0' +implementation 'com.google.cloud:google-cloud-bigtable:2.39.2' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.38.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.39.2" ``` @@ -541,7 +541,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigtable.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.39.2 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles