Skip to content

Commit ada5460

Browse files
jwiklundpongad
authored andcommitted
Fix documentation for setParallelPullCount (#3542)
#3147 Changed the default without updating the documentation.
1 parent 1b3a298 commit ada5460

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1

java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,7 @@ public Builder setSystemExecutorProvider(ExecutorProvider executorProvider) {
583583
}
584584

585585
/**
586-
* Sets the number of pullers used to pull messages from the subscription. Defaults to the
587-
* number of available processors.
586+
* Sets the number of pullers used to pull messages from the subscription. Defaults to one.
588587
*/
589588
public Builder setParallelPullCount(int parallelPullCount) {
590589
this.parallelPullCount = parallelPullCount;

0 commit comments

Comments
 (0)