[
https://issues.apache.org/jira/browse/KAFKA-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15802110#comment-15802110
]
Shikhar Bhushan commented on KAFKA-4598:
----------------------------------------
In the meantime the workaround is to use
{{SourceTask.commitRecord(SourceRecord)}} to keep track of committable offset
state.
> 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)