adixitconfluent commented on code in PR #20126:
URL: https://github.com/apache/kafka/pull/20126#discussion_r2192523297


##########
tools/src/main/java/org/apache/kafka/tools/ShareConsumerPerformance.java:
##########
@@ -153,6 +157,9 @@ private static void consume(List<KafkaShareConsumer<byte[], 
byte[]>> shareConsum
             // Preserve interrupt status
             Thread.currentThread().interrupt();
         }
+        for (Future<?> future : futures) {
+            future.get(1, TimeUnit.MILLISECONDS);

Review Comment:
   Yes, it would be the same. I'll change this code.



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to