MarvinCai commented on PR #17182:
URL: https://github.com/apache/pulsar/pull/17182#issuecomment-1221469670

   the doc for `Consumer#pause` is 
   ```
   /**
    * Stop requesting new messages from the broker until {@link #resume()} is 
called. Note that this might cause
    * {@link #receive()} to block until {@link #resume()} is called and new 
messages are pushed by the broker.
    */
   ```
   it doesn't say anything about stop receiving message instantly, I think 
current behavior is acceptable?


-- 
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]

Reply via email to