linlinnn commented on a change in pull request #10163:
URL: https://github.com/apache/pulsar/pull/10163#discussion_r610399977



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
##########
@@ -453,6 +455,7 @@ public UnAckedMessageTracker getUnAckedMessageTracker() {
         try {
             return internalBatchReceiveAsync().get();
         } catch (InterruptedException | ExecutionException e) {
+            Thread.currentThread().interrupt();

Review comment:
       @eolivelli Can we interrupt current thread if ExecutionException occur?
   @zjyingchang we also need do the same work in other implement of 
XXXConsumerImpl




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to