[ 
https://issues.apache.org/jira/browse/KAFKA-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15805375#comment-15805375
 ] 

Ewen Cheslack-Postava commented on KAFKA-4598:
----------------------------------------------

The alternative would be to synchronize them, right? Are we assuming this isn't 
reasonable since poll() can block indefinitely?

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

Reply via email to