Skip to content

Commit 2460249

Browse files
---
yaml --- r: 13855 b: refs/heads/autosynth-compute c: 052c4a9 h: refs/heads/master i: 13853: 9d240e2 13851: 59f1790 13847: 6f51726 13839: 2c3bd73 13823: 0d10c48
1 parent 53a9de6 commit 2460249

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
@@ -112,7 +112,7 @@ refs/tags/v0.64.0: 456e8fbd129deced3ca025f239a2d8a82bde1d0a
112112
refs/tags/v0.65.0: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
113113
refs/tags/v0.66.0: ed6a3f57cbdaa20339a1995f7d7d53b172a5b8ef
114114
refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
115-
refs/heads/autosynth-compute: 821bf93dc663f0d249575f6117a4f3a0e121ae1d
115+
refs/heads/autosynth-compute: 052c4a9826fa988ec129bea3dc1324ff5f5cd430
116116
refs/heads/autosynth-container: d0346e84b1f26e3dc10444450a998f357a43bcef
117117
refs/heads/autosynth-dataproc: bc74a8841bc1693d7945d991d15979df550b1fd1
118118
refs/heads/autosynth-monitoring: 120f508e0065f4ce39cf0e6a69a08138773f2cfb

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