[ https://issues.apache.org/jira/browse/KAFKA-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15805460#comment-15805460 ]
Shikhar Bhushan commented on KAFKA-4598: ---------------------------------------- Yeah, that's a reasonable alternative with the caveat you pointed out. > Create new SourceTask commit callback method that takes offsets param > --------------------------------------------------------------------- > > Key: KAFKA-4598 > URL: https://issues.apache.org/jira/browse/KAFKA-4598 > Project: Kafka > Issue Type: Improvement > Components: KafkaConnect > Reporter: Shikhar Bhushan > Assignee: Ewen Cheslack-Postava > > {{SourceTask.commit()}} can be invoked concurrently with a > {{SourceTask.poll()}} in progress. Thus it is currently not possible to know > what offset state the commit call corresponds to. -- This message was sent by Atlassian JIRA (v6.3.4#6332)