Skip to content
Permalink
Browse files
fix: setParallelPullCount documentation (#459)
* 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 b399f60cf324ab21c15697bd697902aa1fde3e80
Showing with 4 additions and 1 deletion.
  1. +4 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java
@@ -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;

0 comments on commit b399f60

Please sign in to comment.