[ https://issues.apache.org/jira/browse/KAFKA-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069141#comment-14069141 ]
Jay Kreps commented on KAFKA-1553: ---------------------------------- We have been working on rewriting the clients. We have completed a rewrite of the producer and are in the middle or redoing the consumer. https://cwiki.apache.org/confluence/display/KAFKA/Client+Rewrite These are in a new top-level module clients/. The intention is that eventually we will deprecate the existing scala clients in favor of these. > TopicMetadataResponse.brokers not read in scala producer? > --------------------------------------------------------- > > Key: KAFKA-1553 > URL: https://issues.apache.org/jira/browse/KAFKA-1553 > Project: Kafka > Issue Type: Bug > Components: producer > Affects Versions: 0.8.2 > Reporter: Nicolae Marasoiu > Assignee: Jun Rao > > I searched again and I do think that topicMetadataResponse.brokers is not > read in Scala Producer, or I have not found where it is. (In the java > producer it does seem used on the other hand). > The producer seems to only parse its static configuration (properties file on > key metadata.broker.list on disk stating initial broker list), and cache it > in BrokerPartitionInfo. It never updates that broker list cache when it > receives a metadata response! > It really seems that only that statically configured metadata.broker.list is > ever queried for metadata, not only initially but at any time e.g. this list > is never refreshed with the brokers listed in the topic metadata response. -- This message was sent by Atlassian JIRA (v6.2#6252)