Skip to content

Commit

Permalink
fix: setParallelPullCount documentation (#459)
Browse files Browse the repository at this point in the history
* fix: `setParallelPullCount` documentation

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

Co-authored-by: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>

Co-authored-by: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
  • Loading branch information
anguillanneuf and yoshi-code-bot committed Dec 14, 2020
1 parent 6fe29a1 commit b399f60
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -573,7 +573,10 @@ public Builder setSystemExecutorProvider(ExecutorProvider executorProvider) {
return this;
}

/** Sets the number of pullers used to pull messages from the subscription. Defaults to one. */
/**
* Sets the number of StreamingPull streams to pull messages from the subscription. Defaults to
* one.
*/
public Builder setParallelPullCount(int parallelPullCount) {
this.parallelPullCount = parallelPullCount;
return this;
Expand Down

0 comments on commit b399f60

Please sign in to comment.