[ https://issues.apache.org/jira/browse/KAFKA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao resolved KAFKA-472. --------------------------- Resolution: Fixed Fix Version/s: (was: 0.9.0) 0.8.2 The new producer already does batching. So, this can be closed. > update metadata in batches in Producer > -------------------------------------- > > Key: KAFKA-472 > URL: https://issues.apache.org/jira/browse/KAFKA-472 > Project: Kafka > Issue Type: Bug > Components: core > Reporter: Jun Rao > Labels: optimization > Fix For: 0.8.2 > > > Currently, the producer obtains the metadata of topics being produced one at > a time. This means that tools like mirror maker will make many getMetadata > requests to the broker. Ideally, we should make > BrokerPartition.getBrokerPartitionInfo() a batch api that takes a list of > topics. -- This message was sent by Atlassian JIRA (v6.2#6252)