Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3760

Set broker state as running after publishing to ZooKeeper

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.1.0
    • Component/s: core
    • Labels:
      None
    • Flags:
      Patch

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                theduderog Roger Hoover
                Reporter:
                theduderog Roger Hoover
                Reviewer:
                Jun Rao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: