From c04418021dcce7c659e33ff5a11a78773bcf44a6 Mon Sep 17 00:00:00 2001 From: mohanli-ml Date: Wed, 22 Nov 2023 19:04:28 +0000 Subject: [PATCH] feat: allow non default service account in DirectPath --- .../bigtable/data/v2/stub/EnhancedBigtableStubSettings.java | 4 +--- 1 file changed, 1 insertion(+), 3 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 9a254100a5..8ce0898286 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 @@ -332,7 +332,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi .setAttemptDirectPath(true) // Allow using non-default service account in DirectPath. .setAllowNonDefaultServiceAccount(true); - } @SuppressWarnings("WeakerAccess") @@ -657,8 +656,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());