GitHub user tedyu opened a pull request: https://github.com/apache/kafka/pull/4254
KAFKA-6074 Use ZookeeperClient in ReplicaManager and Partition Replace ZkUtils with KafkaZkClient in ReplicaManager and Partition Utilize existing unit tests ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) You can merge this pull request into a Git repository by running: $ git pull https://github.com/tedyu/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4254.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 #4254 ---- commit f4991b2bd55ba1d0674928b92e525bb40af781e1 Author: tedyu <yuzhih...@gmail.com> Date: 2017-11-22T22:27:33Z KAFKA-6074 Use ZookeeperClient in ReplicaManager and Partition ---- ---