[ https://issues.apache.org/jira/browse/KAFKA-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Koshy updated KAFKA-433: ----------------------------- Labels: optimization (was: ) > ensurePartitionLeaderOnThisBroker should not access ZK > ------------------------------------------------------ > > Key: KAFKA-433 > URL: https://issues.apache.org/jira/browse/KAFKA-433 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8 > Reporter: Jun Rao > Labels: optimization > Original Estimate: 72h > Remaining Estimate: 72h > > ensurePartitionLeaderOnThisBroker() is called for each produce and fetch > request. So, it shouldn't check leadership assignment form ZK. Instead, it > should read from the in-memory cache. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira