abhishekmjain commented on code in PR #4080: URL: https://github.com/apache/gobblin/pull/4080#discussion_r1872804992
########## gobblin-runtime/src/main/java/org/apache/gobblin/runtime/kafka/HighLevelConsumer.java: ########## @@ -336,8 +336,8 @@ public QueueProcessor(BlockingQueue queue) { public void run() { log.info("Starting queue processing.. " + Thread.currentThread().getName()); KafkaConsumerRecord record = null; - try { - while (true) { + while (true) { + try { record = queue.take(); Review Comment: But that is only if autoCommit is not enabled. We have our usecase with autoCommit enabled. -- 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: dev-unsubscr...@gobblin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org