Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently we don't have visibility into what state the broker is currently in, ie: Startup -> Running -> Waiting Controlled shutdown -> Shutting down

      So without knowing what state the broker it is it's hard to figure out what the current broker is performing.

      This ticket is to add a new metric to expose the current broker state.

      1. KAFKA-1384_2014-05-06_13:21:14.patch
        20 kB
        Timothy Chen
      2. KAFKA-1384_2014-05-05_17:14:57.patch
        56 kB
        Timothy Chen
      3. KAFKA-1384_2014-05-05_14:25:25.patch
        20 kB
        Timothy Chen
      4. KAFKA-1384_2014-05-05_11:05:15.patch
        14 kB
        Timothy Chen
      5. KAFKA-1384_2014-05-02_12:13:24.patch
        14 kB
        Timothy Chen
      6. KAFKA-1384_2014-05-01_18:47:03.patch
        12 kB
        Timothy Chen
      7. KAFKA-1384_2014-04-26_00:09:56.patch
        12 kB
        Timothy Chen
      8. KAFKA-1384.patch
        12 kB
        Timothy Chen

        Activity

        Hide
        darion yaphets added a comment -

        Could register the broker state in zookeeper ? And use commane-line tool to take it

        Show
        darion yaphets added a comment - Could register the broker state in zookeeper ? And use commane-line tool to take it
        Hide
        Timothy Chen added a comment -

        I'm planning just to expose it via JMX, as we don't have a need to write it to zookeeper as other brokers doesn't have a need to query it.

        Less contention to ZK as well, you have anything in mind why you thought putting it in ZK would be good?

        Show
        Timothy Chen added a comment - I'm planning just to expose it via JMX, as we don't have a need to write it to zookeeper as other brokers doesn't have a need to query it. Less contention to ZK as well, you have anything in mind why you thought putting it in ZK would be good?
        Hide
        Timothy Chen added a comment -

        Created reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Created reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Timothy Chen added a comment -

        Updated reviewboard https://reviews.apache.org/r/20718/
        against branch origin/trunk

        Show
        Timothy Chen added a comment - Updated reviewboard https://reviews.apache.org/r/20718/ against branch origin/trunk
        Hide
        Jun Rao added a comment -

        Thanks for the patch. +1 and committed to trunk.

        Show
        Jun Rao added a comment - Thanks for the patch. +1 and committed to trunk.

          People

          • Assignee:
            Timothy Chen
            Reporter:
            Timothy Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development