DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Limit: 1000 partitions per request. If more than 1000 partitions are included, only the first 1000 will be served. Others will be returned with REQUEST_LIMIT_REACHED.
| Code Block |
|---|
{
"apiKey": XX,
"type": "request",
"listeners": ["broker", "controller"],
"name": "ElectLeadersRequest",
"validVersions": "0-3",
"flexibleVersions": "2+",
"fields": [
...
{ "name": "TopicPartitions", "type": "[]TopicPartitions", "versions": "0+", "nullableVersions": "0+",
"about": "The topic partitions to elect leaders.",
"fields": [
...
// New fields begin. The same level with the Partitions
{ "name": "DesignatedLeaders", "type": "[]int32", "versions": "3+", "nullableVersions": "3+",
"about": "The designated leaders. The entry should match with the entry in Partitions by the index." },
},
// New fields end.
] },
{ "name": "TimeoutMs", "type": "int32", "versions": "0+", "default": "60000",
"about": "The time in ms to wait for the election to complete." }
]
} |
...