Data is always provided by the leader of a topic-partition (i.e. a broker). Here is a summary of how zookeeper is used: https://www.quora.com/What-is-the-actual-role-of-ZooKeeper-in-Kafka
-David On 9/10/16, 3:47 PM, "Eric Ho" <e...@analyticsmd.com> wrote: I notice that some Spark programs would contact something like 'zoo1:2181' when trying to suck data out of Kafka. Does the kafka data actually get routed out of zookeeper before delivering the payload onto Spark ? -- -eric ho