[ https://issues.apache.org/jira/browse/GOBBLIN-1040?focusedWorklogId=398883&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398883 ]
ASF GitHub Bot logged work on GOBBLIN-1040: ------------------------------------------- Author: ASF GitHub Bot Created on: 06/Mar/20 02:51 Start Date: 06/Mar/20 02:51 Worklog Time Spent: 10m Work Description: vikrambohra commented on pull request #2900: [GOBBLIN-1040] HighLevelConsumer re-design by removing references to … URL: https://github.com/apache/incubator-gobblin/pull/2900#discussion_r388688470 ########## File path: gobblin-runtime/src/main/java/org/apache/gobblin/runtime/kafka/HighLevelConsumer.java ########## @@ -221,6 +228,9 @@ public void run() { private void consume() { try { Iterator<KafkaConsumerRecord> itr = gobblinKafkaConsumerClient.consume(); + if(!enableAutoCommit) { Review comment: I don't think it really makes a difference because both adding messages to the queue and offset commiting are async operations. But it will make sense to keep it here if we ever decide to commit synchronously. In that case we are making sure we are committing the previous offsets and not the ones from the current consume() call ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 398883) Time Spent: 5h (was: 4h 50m) > Fix High level consumer > ------------------------ > > Key: GOBBLIN-1040 > URL: https://issues.apache.org/jira/browse/GOBBLIN-1040 > Project: Apache Gobblin > Issue Type: Improvement > Reporter: Vikram Bohra > Priority: Major > Time Spent: 5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)