GitHub user dguy opened a pull request: https://github.com/apache/kafka/pull/3624
KAFKA-5702: extract refactor StreamThread Extracted `TaskManager` to handle all task related activities. Make `StandbyTaskCreator`, `TaskCreator`, and `RebalanceListener` static classes so they must define their dependencies and can be testing independently of `StreamThread` Added interfaces between `StreamPartitionAssignor` & `StreamThread` to reduce coupling. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dguy/kafka stream-thread-refactor Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3624.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 #3624 ---- commit 1d46a295a2ac10cd612b89c336790a033a9a9afa Author: Damian Guy <damian....@gmail.com> Date: 2017-08-03T12:42:27Z extract taskmanager from stream thread make partition assignor test work ---- --- 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. ---