tisonkun commented on code in PR #10163:
URL: https://github.com/apache/pulsar/pull/10163#discussion_r1044058731


##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Consumer.java:
##########
@@ -77,6 +77,8 @@
      *
      * <p>This calls blocks until a message is available.
      *
+     * <p>When thread is Interrupted, return a null value and reset 
interrupted flag.

Review Comment:
   @zjyingchang It seems we throw an exception instead of return `null` on 
interrupted?



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