From b886e9c7a21bfea3777e80e564030f69d2a4e439 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 10 Jan 2023 14:57:19 -0500 Subject: [PATCH] fix: Add back the accidentally removed background executor provider (#1923) --- .../java/com/google/cloud/bigquery/storage/v1/StreamWriter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java index d51c5d669c..f71e721a9c 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java @@ -274,6 +274,7 @@ private BigQueryWriteClient getBigQueryWriteClient(Builder builder) throws IOExc BigQueryWriteSettings.newBuilder() .setCredentialsProvider(builder.credentialsProvider) .setTransportChannelProvider(builder.channelProvider) + .setBackgroundExecutorProvider(builder.executorProvider) .setEndpoint(builder.endpoint) .build(); testOnlyClientCreatedTimes++;