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

Add an Admin message type for request response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      • utility int8
      • command int8
      • format int8
      • args variable length bytes

      utility
      0 - Broker
      1 - Topic
      2 - Replication
      3 - Controller
      4 - Consumer
      5 - Producer

      Command

      0 - Create
      1 - Alter
      3 - Delete
      4 - List
      5 - Audit

      format
      0 - JSON

      args e.g. (which would equate to the data structure values == 2,1,0)

      "meta-store":

      { {"zookeeper":"localhost:12913/kafka"}

      }"args": {
      "partitions":
      [

      {"topic": "topic1", "partition": "0"}

      ,

      {"topic": "topic1", "partition": "1"}

      ,

      {"topic": "topic1", "partition": "2"}

      ,

      {"topic": "topic2", "partition": "0"}

      ,

      {"topic": "topic2", "partition": "1"}

      ,
      ]
      }

      Attachments

        Activity

          People

            abiletskyi Andrii Biletskyi
            joestein Joe Stein
            Joe Stein Joe Stein
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: