Skip to content

Commit 9b92d0a

Browse files
authored
fix: restore batching for writeLogEntriesCallable (#754)
handle regression which caused to writeLogEntriesCallable stub to use non aggregated gax method. Fixes #744
1 parent 108919f commit 9b92d0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

env-tests-logging

Submodule env-tests-logging updated 54 files

google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public Map<String, String> extract(ListLogsRequest request) {
239239
callableFactory.createUnaryCallable(
240240
deleteLogTransportSettings, settings.deleteLogSettings(), clientContext);
241241
this.writeLogEntriesCallable =
242-
callableFactory.createUnaryCallable(
242+
callableFactory.createBatchingCallable(
243243
writeLogEntriesTransportSettings, settings.writeLogEntriesSettings(), clientContext);
244244
this.listLogEntriesCallable =
245245
callableFactory.createUnaryCallable(

0 commit comments

Comments
 (0)