pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] davidtinker commented on a change in pull request #2961: Added pause and resume to Java client Consumer
Date Fri, 09 Nov 2018 06:10:56 GMT
davidtinker commented on a change in pull request #2961: Added pause and resume to Java client
Consumer
URL: https://github.com/apache/pulsar/pull/2961#discussion_r232150473
 
 

 ##########
 File path: pulsar-client/src/main/java/org/apache/pulsar/client/api/Consumer.java
 ##########
 @@ -294,4 +294,14 @@
      * @return consumer name.
      */
     String getConsumerName();
+
+    /**
+     * Stop requesting new messages from the broker until {@link #resume()} is called.
+     */
+    void pause();
 
 Review comment:
   I have updated the Javadoc.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message