You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/07 12:13:01 UTC

[GitHub] [pulsar] AnonHxy commented on a diff in pull request #14494: [PIP-74] Support auto scaled consumer receiver queue

AnonHxy commented on code in PR #14494:
URL: https://github.com/apache/pulsar/pull/14494#discussion_r844616880


##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java:
##########
@@ -798,4 +798,18 @@
      * @default false
      */
     ConsumerBuilder<T> startPaused(boolean paused);
+
+    /**
+     * If this is enabled, consumer receiver queue size is init as a very small value, 1 by default,
+     * and it will double itself unit it reaches the value set by {@link #receiverQueueSize(int)}, if and only if

Review Comment:
   Typo.  `unit` should be `until` ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org