GitHub user jcustenborder opened a pull request:
https://github.com/apache/kafka/pull/950
KAFKA-3260 - Added SourceTask.commitRecord
Added commitRecord(SourceRecord record) to SourceTask. This method is
called during the callback from producer.send() when the message has been sent
successfully. Added commitTaskRecord(SourceRecord record) to WorkerSourceTask
to handle calling commitRecord on the SourceTask. Updated tests for calls to
commitRecord.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcustenborder/kafka KAFKA-3260
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/950.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #950
----
commit f4e1826f659af99e39189d45af214fd9f030b77b
Author: Jeremy Custenborder <[email protected]>
Date: 2016-02-22T23:22:02Z
KAFKA-3260 - Added commitRecord(SourceRecord record) to SourceTask. This
method during the callback from producer.send() when the message has been sent
successfully. Added commitTaskRecord(SourceRecord record) to WorkerSourceTask
to handle calling commitRecord on the SourceTask. Updated tests for calls to
commitRecord.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---