GitHub user hachikuji opened a pull request: https://github.com/apache/kafka/pull/815
KAFKA-3092: Replace SinkTask onPartitionsAssigned/onPartitionsRevoked with open/close You can merge this pull request into a Git repository by running: $ git pull https://github.com/hachikuji/kafka KAFKA-3092 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/815.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 #815 ---- commit 6d262240a8a9d01e99388e8b2f3cf2d45ff7d57d Author: Jason Gustafson <ja...@confluent.io> Date: 2016-01-22T00:45:44Z Combine WorkerSinkTask and WorkerSinkTaskThread and refactor as a Runnable commit 22c04c95bcf2e355376892afc7d2990f5e3cb02f Author: Jason Gustafson <ja...@confluent.io> Date: 2016-01-26T21:13:40Z Ensure onPartitionsRevoked obeys close semantics commit ec9611cfdb05f12a62e304433c819e46feeed321 Author: Jason Gustafson <ja...@confluent.io> Date: 2016-01-26T22:45:27Z Assignments are only initialized in onPartitionsAssigned commit dc002cc43eacade42e07e78d0b297d31bf548cad Author: Jason Gustafson <ja...@confluent.io> Date: 2016-01-27T00:09:47Z Add open/close methods to SinkTask and deprecate onPartitionsAssigned/onPartitionsRevoked ---- --- 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. ---