THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
{ "apiKey": 0, "type": "response", "name": "ProduceResponse", "validVersions": "0-9", "flexibleVersions": "9+", "fields": [ { "name": "Responses", "type": "[]TopicProduceResponse", "versions": "0+", "about": "Each produce response", "fields": [ { "name": "Name", "type": "string", "versions": "0+", "entityType": "topicName", "mapKey": true, "about": "The topic name" }, { "name": "PartitionResponses", "type": "[]PartitionProduceResponse", "versions": "0+", "about": "Each partition that we produced to within the topic.", "fields": [ { "name": "Index", "type": "int32", "versions": "0+", "about": "The partition index." }, { "name": "ErrorCode", "type": "int16", "versions": "0+", "about": "The error code, or 0 if there was no error." }, { "name": "BaseOffset", "type": "int64", "versions": "0+", "about": "The base offset." }, { "name": "LogAppendTimeMs", "type": "int64", "versions": "2+", "default": "-1", "ignorable": true, "about": "The timestamp returned by broker after appending the messages. If CreateTime is used for the topic, the timestamp will be -1. If LogAppendTime is used for the topic, the timestamp will be the broker local time when the messages are appended." }, { "name": "LogStartOffset", "type": "int64", "versions": "5+", "default": "-1", "ignorable": true, "about": "The log start offset." }, { "name": "RecordErrors", "type": "[]BatchIndexAndErrorMessage", "versions": "8+", "ignorable": true, "about": "The batch indices of records that caused the batch to be dropped", "fields": [ { "name": "BatchIndex", "type": "int32", "versions": "8+", "about": "The batch index of the record that cause the batch to be dropped" }, { "name": "BatchIndexErrorMessage", "type": "string", "default": "null", "versions": "8+", "nullableVersions": "8+", "about": "The error message of the record that caused the batch to be dropped"} ]}, { "name": "ErrorMessage", "type": "string", "default": "null", "versions": "8+", "nullableVersions": "8+", "ignorable": true, "about": "The global error message summarizing the common root cause of the records that caused the batch to be dropped"}, // ---------- Start new field ---------- { "name": "CurrentLeader", "type": "LeaderIdAndEpoch", "versions": "9+", "taggedVersions": "9+", "tag": 0, "fields": [ { "name": "LeaderId", "type": "int32", "versions": "9+", "default": "-1", "entityType": "brokerId", "about": "The ID of the current leader or -1 if the leader is unknown."}, { "name": "LeaderEpoch", "type": "int32", "versions": "9+", "default": "-1", "about": "The latest known leader epoch"} ]} // ---------- End new field ---------- ]} ]}, { "name": "ThrottleTimeMs", "type": "int32", "versions": "1+", "ignorable": true, "default": "0", "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." }, // ---------- Start new field ---------- { "name": "NodeEndpoints", "type": "[]NodeEndpoint", "versions": "9+", "taggedVersions": "129+", "tag": 0, "about": "Endpoints for all current-leaders enumerated in PartitionData.", "fields": [ { "name": "NodeId", "type": "int32", "versions": "9+", "mapKey": true, "entityType": "brokerId", "about": "The ID of the associated node."}, { "name": "Host", "type": "string", "versions": "9+", "about": "The node's hostname." }, { "name": "Port", "type": "int32", "versions": "9+", "about": "The node's port." }, { "name": "Rack", "type": "string", "versions": "9+", "nullableVersions": "9+", "ignorable": true, "default": "null", "about": "The rack of the node, or null if it has not been assigned to a rack." } ]} // ---------- End new field ---------- ] } |
...