Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Status

Current state: Under DiscussionDiscarded (incorporated into KIP-1163: Diskless Core)

Discussion thread: here

JIRA: here [Change the link from KAFKA-1 to your own ticket]19257

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

Code Block
languagejs
{
  "apiKey": 3,
  "type": "request",
  "listeners": ["broker"],
  "name": "MetadataRequest",
  "validVersions": "0-14",
  "flexibleVersions": "9+",
  "fields": [
      { "name": "Topics", "type": "[]MetadataRequestTopic", "versions": "0+", "nullableVersions": "1+",
      "about": "The topics to fetch metadata for.", "fields": [
      { "name": "TopicId", "type": "uuid", "versions": "10+", "ignorable": true, "about": "The topic id." },
      { "name": "Name", "type": "string", "versions": "0+", "entityType": "topicName", "nullableVersions": "10+",
        "about": "The topic name." }
    ]},
    { "name": "AllowAutoTopicCreation", "type": "bool", "versions": "4+", "default": "true", "ignorable": false,
      "about": "If this is true, the broker may auto-create topics that we requested which do not already exist, if it is configured to do so." },
    { "name": "IncludeClusterAuthorizedOperations", "type": "bool", "versions": "8-10",
      "about": "Whether to include cluster authorized operations." },
    { "name": "IncludeTopicAuthorizedOperations", "type": "bool", "versions": "8+",
      "about": "Whether to include topic authorized operations." },
    { "name": "RackId", "type":  "string", "versions": "14+", "default": "", "ignorable": true,
      "about": "Rack ID of the client making this request"}
  ]
}

 

Response schema

Version 14 is the same as version 13.

...

Code Block
languagejs
{
  "apiKey": 75,
  "type": "request",
  "listeners": ["broker"],
  "name": "DescribeTopicPartitionsRequest",
  "validVersions": "0-1",
  "flexibleVersions": "0+",
  "fields": [
    { "name": "Topics", "type": "[]TopicRequest", "versions": "0+",
      "about": "The topics to fetch details for.",
      "fields": [
        { "name": "Name", "type": "string", "versions": "0+", "entityType": "topicName",
          "about": "The topic name." }
      ]
    },
    { "name": "ResponsePartitionLimit", "type": "int32", "versions": "0+", "default": "2000",
      "about": "The maximum number of partitions included in the response." },
    { "name": "Cursor", "type": "Cursor", "versions": "0+", "nullableVersions": "0+", "default": "null",
      "about": "The first topic and partition index to fetch details for.", "fields": [
      { "name": "TopicName", "type": "string", "versions": "0+", "entityType": "topicName",
        "about": "The name for the first topic to process." },
      { "name": "PartitionIndex", "type": "int32", "versions": "0+", "about": "The partition index to start with." }
    ]},
    { "name": "RackId", "type":  "string", "versions": "14+", "default": "", "ignorable": true,
      "about": "Rack ID of the client making this request"}
  ]
}


 

Response schema

Version 1 is the same as version 0.

...