GitHub user jcustenborder opened a pull request:
https://github.com/apache/kafka/pull/909
KAFKA-3225: Method commit() of class SourceTask never invoked
1. Added a test case to prove commit() on SourceTask was not being called.
2. Added commitSourceTask() which logs potential exceptions.
3. Added after call to finishSuccessfulFlush().
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcustenborder/kafka KAFKA-3225
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/909.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 #909
----
commit 8bd329d3f8edfb0ad817da2cc9c205ef4f647c94
Author: Jeremy Custenborder <[email protected]>
Date: 2016-02-12T21:46:30Z
KAFKA-3225 Added test case for missing commit call on WorkerSourceTask.
Added commitSourceTask() to follow finishSuccessfulFlush() which calls
SourceTask.commit() and log exceptions.
----
---
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.
---