Versions Compared

Key

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

...

Code Block
 {
   "apiKey": 12,
   "type": "metadata",
   "name": "FeatureLevelRecord",
   "validVersions": "0",
+  "flexibleVersions": "0+",
   "fields": [
     { "name": "Name", "type": "string", "versions": "0+",
       "about": "The feature name." },
     { "name": "MinFeatureLevelFeatureLevel", "type": "int16", "versions": "0+",
       "about": "The current finalized minimum feature level of this feature for the cluster." },
     { "name": "MaxFeatureLevel", "type": "int16", "versions": "0+",
       "about": "The current finalized maximum feature level of this feature for the cluster." }
   ]
 }

QuotaRecord

Rename this record to ClientQuotaRecord to avoid confusion. Make it flexible.

...

Code Block
{
  "apiKey": 15,
  "type": "metadata",
  "name": "ProducerIdsRecord",
  "validVersions": "0",
+ "flexibleVersions": "0+",
  "fields": [
    { "name": "BrokerId", "type": "int32", "versions": "0+", "entityType": "brokerId",
      "about": "The ID of the requesting broker" },
    { "name": "BrokerEpoch", "type": "int64", "versions": "0+", "default": "-1",
      "about": "The epoch of the requesting broker" },
    { "name": "ProducerIdsEnd", "type": "int64", "versions": "0+",
      "about": "The highest producer ID that has been generated"}
  ]
}

RemoveFeatureLevelRecord

Create a new record type named RemoveFeatureLevelRecord. This record removes a feature level.

Code Block
 {
   "apiKey": 16,
   "type": "metadata",
   "name": "RemoveFeatureLevelRecord",
   "validVersions": "0",
   "flexibleVersions": "0+",
   "fields": [
    { "name": "Name", "type": "string", "versions": "0+"
      "about": "The feature name." }
   ]
 }

BrokerRegistrationChangeRecord

...