THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "apiKey": 19, "type": "response", "name": "CreateTopicsResponse", // Version 1 adds a per-topic error message string. // // Version 2 adds the throttle time. // // Starting in version 3, on quota violation, brokers send out responses before throttling. // // Version 4 makes partitions/replicationFactor optional even when assignments are not present (KIP-464). // // Version 5 is the first flexible version. // // Version 6 returns topic configs in the response (KIP-525) "validVersions": "0-6", "flexibleVersions": "5+", "fields": [ { "name": "ThrottleTimeMs", "type": "int32", "versions": "2+", "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": "Topics", "type": "[]CreatableTopicResult", "versions": "0+", "about": "Results for each topic we tried to create.", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "mapKey": true, "entityType": "topicName", "about": "The topic name." }, { "name": "ErrorCode", "type": "int16", "versions": "0+", "about": "The error code, or 0 if there was no error." }, { "name": "ErrorMessage", "type": "string", "versions": "1+", "nullableVersions": "0+", "ignorable": true, "about": "The error message, or null if there was no error." }, // ************* New fields added by KIP-525 *************// { "name": "TopicConfigErrorCode", "type": "int16", "versions": "6+", "tag": 0, "taggedVersions": "9+", "about": "Optional topic config error returned if configs are not returned in the response." }, { "name": "NumPartitions", "type": "int32", "versions": "6+", "default": "-1", "about": "Number of partitions of the topic." }, { "name": "ReplicationFactor", "type": "int16", "versions": "6+", "default": "-1", "about": "Replicator factor of the topic." }, { "name": "Configs", "type": "[]CreatableTopicConfigs", "versions": "6+", "nullableVersions": "6+", "about": "Configuration of the topic.", "fields": [ { "name": "Name", "type": "string", "versions": "6+", "about": "The configuration name." }, { "name": "Value", "type": "string", "versions": "6+", "nullableVersions": "0+", "about": "The configuration value." }, { "name": "ReadOnly", "type": "bool", "versions": "6+", "about": "True if the configuration is read-only." }, { "name": "ConfigSource", "type": "int8", "versions": "6+", "default": "-1", "ignorable": true, "about": "The configuration source." }, { "name": "IsSensitive", "type": "bool", "versions": "6+", "about": "True if this configuration is sensitive." } ]} ]} ] } |
...