Roger Hoover created KAFKA-3760: ----------------------------------- Summary: Setting 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)