----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14041/#review26012 -----------------------------------------------------------
core/src/main/scala/kafka/client/ClientUtils.scala <https://reviews.apache.org/r/14041/#comment50776> You can reuse ZkUtils.getPartitionAssignmentForTopics instead of writing a new function. - Swapnil Ghike On Sept. 9, 2013, 9:31 p.m., Guozhang Wang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/14041/ > ----------------------------------------------------------- > > (Updated Sept. 9, 2013, 9:31 p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-1030 > https://issues.apache.org/jira/browse/KAFKA-1030 > > > Repository: kafka > > > Description > ------- > > Using the approach of reading directly from ZK. > > > Diffs > ----- > > core/src/main/scala/kafka/client/ClientUtils.scala > cc526ec933052b239f0e7ce43e76cd9d011d5bd9 > core/src/main/scala/kafka/consumer/ZookeeperConsumerConnector.scala > e7a692a1d23ca5a9ecf86e3cb34be418b9c0c943 > > Diff: https://reviews.apache.org/r/14041/diff/ > > > Testing > ------- > > unit tests > > > Thanks, > > Guozhang Wang > >