You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Shikhar Bhushan (JIRA)" <ji...@apache.org> on 2017/01/05 18:27:58 UTC

[jira] [Commented] (KAFKA-4598) Create new SourceTask commit callback method that takes offsets param

    [ 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)