Skip to content

Commit f260705

Browse files
---
yaml --- r: 13737 b: refs/heads/autosynth-logging c: 052c4a9 h: refs/heads/master i: 13735: 3315808
1 parent 64f56f1 commit f260705

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
@@ -105,7 +105,7 @@ refs/tags/v0.61.0: e4b526656bb1bf5eefd0ee578b7405147821225e
105105
refs/tags/v0.62.0: bbede7385d48ba08f487bdd29ec10668ace96396
106106
refs/heads/0.60.0-alpha: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
107107
refs/heads/autosynth-dlp: 90e4efe3be392e89dc36bce22afab981a905b1bc
108-
refs/heads/autosynth-logging: 821bf93dc663f0d249575f6117a4f3a0e121ae1d
108+
refs/heads/autosynth-logging: 052c4a9826fa988ec129bea3dc1324ff5f5cd430
109109
refs/heads/dupes: 3478c5d81fd242d0e985656645a679420a2060c2
110110
refs/tags/v0.63.0: 94f19b71d40f46b36120e7b9d78a1a3d41bfcbd6
111111
refs/tags/v0.64.0: 456e8fbd129deced3ca025f239a2d8a82bde1d0a

branches/autosynth-logging/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)