GitHub user GeoSmith opened a pull request: https://github.com/apache/kafka/pull/2988
Added the producer record metadata to the SourceTask commitRecord - Added the Producers Record Metadata object to the commitRecord method on the SourceTask class so more data is provided to those who override and wish to hook into the recordCommit call from the producer. -If its a transformation, it will return null which is explained in the javadoc. You can merge this pull request into a Git repository by running: $ git pull https://github.com/GeoSmith/kafka AddRecordMetaDataSourceTask Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2988.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 #2988 ---- commit a852d7bf651cf60f4fbcfaed7dbf4a42d4badef7 Author: George Smith <george.a.sm...@espn.com> Date: 2017-05-07T03:42:10Z Added the producer record metadata that is returned from the producer to the signature of the commitRecord method on the SourceTask commit e025ec02040482511d066029f8d90d311e99aff7 Author: George Smith <george.a.sm...@espn.com> Date: 2017-05-07T03:53:16Z Updated test cases for the SourceTask and the tools ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---