Skip to content

Commit

Permalink
Pub/Sub: default values in batch settings comments (#4350)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf authored Jan 16, 2019
1 parent 821bf93 commit 052c4a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public Publisher getPublisherWithCustomBatchSettings(ProjectTopicName topicName)
throws Exception {
// [START pubsub_publisher_batch_settings]
// Batch settings control how the publisher batches messages
long requestBytesThreshold = 5000L; // default : 1kb
long messageCountBatchSize = 10L; // default : 100
long requestBytesThreshold = 5000L; // default : 1 byte
long messageCountBatchSize = 10L; // default : 1 message

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

Expand Down

0 comments on commit 052c4a9

Please sign in to comment.