changes.mady.by.user Calvin Liu
Saved on Aug 17, 2023
Saved on Aug 18, 2023
...
{ "apiKey":69, "type": "request", "name": "DescribeTopicResponse", "validVersions": "0", "flexibleVersions": "0+", "fields": [ { "name": "Topics", "type": "[]MetadataResponseTopic", "versions": "0+", "about": "Each topic in the response.", "fields": [ { "name": "ErrorCode", "type": "int16", "versions": "0+", "about": "The topic error, or 0 if there was no error." }, { "name": "Name", "type": "string", "versions": "0+", "mapKey": true, "entityType": "topicName", "nullableVersions": "0+", "about": "The topic name." }, { "name": "TopicId", "type": "uuid", "versions": "0+", "ignorable": true, "about": "The topic id." }, { "name": "IsInternal", "type": "bool", "versions": "0+", "default": "false", "ignorable": true, "about": "True if the topic is internal." }, { "name": "EligibleLeaderReplicasPartitions", "type": "[]int32MetadataResponsePartition", "defaultversions": "null0+", "entityTypeabout": "brokerId", "versionsEach partition in the topic.", "fields": [ { "name": "ErrorCode", "type": "0+int16", "nullableVersionsversions": "0+", "about": "nullThe ifpartition theerror, ELRor didn't change; the new eligible leader replicas otherwise0 if there was no error." }, { "name": "LastKnownLeaderPartitionIndex", "type": "int32", "defaultversions": "null0+", "entityTypeabout": "brokerId"The partition index." }, { "name": "LeaderId", "type": "int32", "versions": "0+", "nullableVersionsentityType": "0+brokerId", "about": "The lastID leader beforeof the partitionleader becomes leaderlessbroker." }, { "name": "PartitionsLeaderEpoch", "type": "[]MetadataResponsePartitionint32", "versions": "0+", "default": "-1", "ignorable": true, "about": "EachThe leader partitionepoch inof thethis topicpartition.", "fields": [ }, { "name": "ErrorCodeReplicaNodes", "type": "int16[]int32", "versions": "0+", "entityType": "brokerId", "about": "The partitionset error,of orall 0nodes ifthat therehost wasthis no errorpartition." }, { "name": "PartitionIndexIsrNodes", "type": "[]int32", "versions": "0+", "entityType": "brokerId", "about": "The set of nodes that are in sync with the leader for this partition index." }, { "name": "LeaderIdEligibleLeaderReplicas", "type": "[]int32", "versionsdefault": "0+null", "entityType": "brokerId", "about": "The ID of the leader broker." }, { "name" "versions": "LeaderEpoch0+", "typenullableVersions": "int320+", "versionsabout": "0+", "default": "-1", "ignorable": true, "about": "The leader epoch of this partitionnull if the ELR didn't change; the new eligible leader replicas otherwise." }, { "name": "ReplicaNodesLastKnownLeader", "type": "[]int32", "versionsdefault": "0+null", "entityType": "brokerId", "about": "The set of all nodes that host this partition." }, { "nameversions": "IsrNodes0+", "typenullableVersions": "[]int32", "versions": "0+", "entityType": "brokerId", "about": "The set of nodes that are in sync with the"about": "The last leader forbefore thisthe partition becomes leaderless." }, { "name": "OfflineReplicas", "type": "[]int32", "versions": "0+", "ignorable": true, "entityType": "brokerId", "about": "The set of offline replicas of this partition." } ]} ] }