mcvsubbu commented on a change in pull request #7026:
URL: https://github.com/apache/incubator-pinot/pull/7026#discussion_r658356266



##########
File path: 
pinot-plugins/pinot-stream-ingestion/pinot-pulsar/src/main/java/org/apache/pinot/plugin/stream/pulsar/PulsarPartitionLevelConsumer.java
##########
@@ -93,6 +96,10 @@ public PulsarMessageBatch fetchMessages(MessageId 
startMessageId, MessageId endM
           }
         }
         messagesList.add(nextMessage);
+

Review comment:
       Isnt it better to catch interruptedException, and return the messages 
fetched so far?




-- 
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to