[
https://issues.apache.org/jira/browse/KAFKA-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Ye updated KAFKA-473:
--------------------------
Attachment: kafka_473_v2.diff
1. Use the api call at producer side
2. use "Option[ProducerConfig]" as parameter to createSyncProducer method,
handle case where no producerConfig or target broker id is provided
> Use getMetadata Api in ZookeeperConsumerConnector
> -------------------------------------------------
>
> Key: KAFKA-473
> URL: https://issues.apache.org/jira/browse/KAFKA-473
> Project: Kafka
> Issue Type: Bug
> Components: core
> Reporter: Jun Rao
> Assignee: Yang Ye
> Priority: Blocker
> Labels: newbie, optimization
> Fix For: 0.8
>
> Attachments: kafka_473_v1.diff, kafka_473_v2.diff
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Currently, ZookeeperConsumerConnector gets topic metadata from ZK directly.
> It's better to use the getMetadata Api since it's batched. This is especially
> helpful if the consumer client is in a different data center.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira