Skip to content

Commit 6acd1e4

Browse files
---
yaml --- r: 16029 b: refs/heads/autosynth-errorreporting c: 052c4a9 h: refs/heads/master i: 16027: 9734d40
1 parent 31bb42a commit 6acd1e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
131131
refs/heads/autosynth-containeranalysis: 039ca5b8db725c76c16a965ff26b2774322b8ef8
132132
refs/heads/autosynth-datastore: 9acd400b484d6691a080c9152a331d88d24fefc1
133133
refs/heads/autosynth-dialogflow: d7477419376eac9b6dcc7dbcede581152527351d
134-
refs/heads/autosynth-errorreporting: 821bf93dc663f0d249575f6117a4f3a0e121ae1d
134+
refs/heads/autosynth-errorreporting: 052c4a9826fa988ec129bea3dc1324ff5f5cd430
135135
refs/heads/autosynth-firestore: 92b27fbc8855c9902168695abb0a8f1f433b750b
136136
refs/heads/autosynth-iot: 9d732be07d99843d8cb53d34ec0837328a807fce
137137
refs/heads/autosynth-kms: dcc6e15d68759010c8735cc868135bd7e6c1cc5f

branches/autosynth-errorreporting/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public Publisher getPublisherWithCustomBatchSettings(ProjectTopicName topicName)
9090
throws Exception {
9191
// [START pubsub_publisher_batch_settings]
9292
// Batch settings control how the publisher batches messages
93-
long requestBytesThreshold = 5000L; // default : 1kb
94-
long messageCountBatchSize = 10L; // default : 100
93+
long requestBytesThreshold = 5000L; // default : 1 byte
94+
long messageCountBatchSize = 10L; // default : 1 message
9595

9696
Duration publishDelayThreshold = Duration.ofMillis(100); // default : 1 ms
9797

0 commit comments

Comments
 (0)