Skip to content

Commit 7355375

Browse files
mohanli-mlgcf-owl-bot[bot]igorbernstein2
authored
fix: remove grpclb (#2033)
* fix: remove grpclb * fix: remove grpclb * fix: remove grpclb * fix: remove grpclb * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Igor Bernstein <[email protected]>
1 parent bc81478 commit 7355375

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

google-cloud-bigtable/pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,6 @@
179179
<groupId>io.grpc</groupId>
180180
<artifactId>grpc-core</artifactId>
181181
</dependency>
182-
<dependency>
183-
<groupId>io.grpc</groupId>
184-
<artifactId>grpc-grpclb</artifactId>
185-
<scope>runtime</scope>
186-
</dependency>
187182
<dependency>
188183
<groupId>io.grpc</groupId>
189184
<artifactId>grpc-googleapis</artifactId>
@@ -698,11 +693,10 @@
698693
<artifactId>maven-dependency-plugin</artifactId>
699694
<configuration>
700695
<!--
701-
grpc-grpclb is used at runtime using reflection
702696
grpc-auth is not directly used transitively, but is pulled to align with other grpc parts
703697
opencensus-impl-core is brought in transitively through opencensus-impl
704698
-->
705-
<usedDependencies>io.grpc:grpc-auth,io.grpc:grpc-grpclb</usedDependencies>
699+
<usedDependencies>io.grpc:grpc-auth</usedDependencies>
706700
<ignoredUsedUndeclaredDependencies>
707701
<ignoredUsedUndeclaredDependency>io.opencensus:opencensus-impl-core</ignoredUsedUndeclaredDependency>
708702
</ignoredUsedUndeclaredDependencies>

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,7 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi
356356
.setMaxInboundMessageSize(MAX_MESSAGE_SIZE)
357357
.setKeepAliveTime(Duration.ofSeconds(30)) // sends ping in this interval
358358
.setKeepAliveTimeout(
359-
Duration.ofSeconds(10)) // wait this long before considering the connection dead
360-
// Attempts direct access to CBT service over gRPC to improve throughput,
361-
// whether the attempt is allowed is totally controlled by service owner.
362-
.setAttemptDirectPath(true);
359+
Duration.ofSeconds(10)); // wait this long before considering the connection dead
363360
}
364361

365362
@SuppressWarnings("WeakerAccess")

0 commit comments

Comments
 (0)