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


##########
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:
   Well. I can see we return null in `internalReceive(long timeout, TimeUnit 
unit)` and `internalBatchReceive()` but not `internalReceive()`. Weird..



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