[ 
https://issues.apache.org/jira/browse/KAFKA-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065646#comment-14065646
 ] 

Jay Kreps commented on KAFKA-1535:
----------------------------------

Our current model of nodes is that they are permanent. That is if there is a 
node 1, if it dies, it will come back or be replaced. It need not literally be 
the same machine, just that if a node dies you will eventually add a new node 
with id 1 which will take over the work 1 used to do.

The metadata response is read by the producer and consumer clients. For example 
in the new java code it is in 
clients/src/main/java/org/apache/kafka/common/requests/MetadataResponse.java.

> return all live brokers in TopicMetadataResponse
> ------------------------------------------------
>
>                 Key: KAFKA-1535
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1535
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.8.2
>            Reporter: Jun Rao
>              Labels: newbie
>         Attachments: 
> KAFKA-1535__return_all_live_brokers_in_TopicMetadataResponse_.patch
>
>
> Currently, we only return the brokers that have assigned replicas for a topic 
> in TopicMetadataResponse. The new producer will use those brokers for 
> refreshing metadata. Now suppose that we stop all those brokers, copy all 
> local data to some new hosts and then restart those hosts (with the original 
> broker id). There is no way for the new producer to automatically get the 
> information about the new brokers since all old brokers are gone.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to