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

ASF GitHub Bot commented on KAFKA-3760:
---------------------------------------

Github user theduderog closed the pull request at:

    https://github.com/apache/kafka/pull/1436


> Set broker state as running after publishing to ZooKeeper
> ---------------------------------------------------------
>
>                 Key: KAFKA-3760
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3760
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.10.0.0
>            Reporter: Roger Hoover
>            Assignee: Jun Rao
>            Priority: Minor
>
> Currently, the broker state is set to running before it registers itself in 
> ZooKeeper. This is too early in the broker lifecycle. If clients use the 
> broker state as an indicator that the broker is ready to accept requests, 
> they will get errors. This change is to delay setting the broker state to 
> running until it's registered in ZK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to