Versions Compared

Key

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

...

Code Block
languagejs
linenumberstrue
{
  "apiKey": 20,
  "type": "response",
  "name": "DeleteTopicsResponse",
  // Version 1 adds the throttle time.
  //
  // Starting in version 2, on quota violation, brokers send out responses before throttling.
  //
  // Starting in version 3, a TOPIC_DELETION_DISABLED error code may be returned.
  //
  // Version 4 is the first flexible version.
  //
  // Version 5 adds the ErrorMessage field.
  "validVersions": "0-5",
  "flexibleVersions": "4+",
  "fields": [
    { "name": "ThrottleTimeMs", "type": "int32", "versions": "1+", "ignorable": true,
      "about": "The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota." },
    { "name": "Responses", "type": "[]DeletableTopicResult", "versions": "0+",
      "about": "The results for each topic we tried to delete.", "fields": [
      { "name": "Name", "type": "string", "versions": "0+", "mapKey": true, "entityType": "topicName",
        "about": "The topic name" },
      { "name": "ErrorCode", "type": "int16", "versions": "0+",
        "about": "The deletion error, or 0 if the deletion succeeded." },
      { "name": "ErrorMessage", "type": "string", "versions": "5+", "nullableVersions": "5+", "ignorable": true,
        "about": "The error message, or null if there was no error." }
    ]}
  ]
}

Broker Configuration

We propose the introduce the following new configurations in the Kafka Broker:

NameTypeDefaultUpdate ModeDescription
quota.partition.mutations.burstLongLong.MaxValuecluster-wideThe maximum burst of partition mutations allowed at any given second.
quota.partition.mutations.rateLongLong.MaxValuecluster-wide

The rate at which partition mutations are accepted for the create topics request, the create partitions request and the delete topics request.

Admin Client Configuration

We propose the introduce the following new configuration in the Admin Client:

NameTypeDefaultDescription
retry.quota.violation.exceptionBooleantrueWhether the `QuotaViolationException` must be automatically retried or not.

Broker Metrics

We propose to expose the following new metric in the Kafka Broker:

...