codelipenghui commented on code in PR #15666:
URL: https://github.com/apache/pulsar/pull/15666#discussion_r880346247
##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ReaderBuilder.java:
##########
@@ -367,4 +367,15 @@
*/
ReaderBuilder<T> expireTimeOfIncompleteChunkedMessage(long duration,
TimeUnit unit);
+ /**
+ * Start the reader in a paused state. When enabled, the reader does not
immediately fetch messages when
+ * {@link #create()} is called. Instead, the reader waits to fetch
messages until {@link Reader#resume()} is
+ * called.
+ * <p/>
+ * See also {@link Reader#pause()}.
+ *
+ * @default false
+ */
+ ReaderBuilder<T> startPaused(boolean paused);
Review Comment:
Yes, keep it the same
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]