Topics
GET /topics/{topicname}/partitions
Changed onRetrieves a list of partitions for the topic.
Request
- The document declares no server URL.
- Authnone declared
Response
List of partitions.
Example response
[
{
"partition": 1,
"leader": 1,
"replicas": [
{
"broker": 1,
"leader": true,
"in_sync": true
},
{
"broker": 2,
"leader": false,
"in_sync": true
}
]
}
]Changes
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info