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

standardizing json values stored in ZK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:

      Description

      Currently, we have the following paths in ZK that stores non-singleton values.

      1. Topic assignment value:
      /brokers/topics/topic

      { "0": ["0"] }

      2. LeaderAndISR info:
      /brokers/topics/test/partitions/0/leaderAndISR

      { "ISR":"0,1","leader":"0","controllerEpoch":"1","leaderEpoch":"0" }

      3. broker registration:
      /brokers/ids/0
      192.168.1.148:9092:9999

      4. partition reassignment path

      It would be good if we do the following:
      a. make them true json (e.g., using number as the value for broker/partition, instead of string).
      b. add version support for future growth.

        Attachments

        1. kafka-755-v3.patch
          48 kB
          Swapnil Ghike
        2. kafka-755-v2.patch
          47 kB
          Swapnil Ghike
        3. kafka-755-v1.patch
          47 kB
          Swapnil Ghike

          Activity

            People

            • Assignee:
              swapnilghike Swapnil Ghike
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: