Topics
GET /topics/{topicname}
Changed onRetrieves the metadata about a given topic.
Request
- The document declares no server URL.
- Authnone declared
Response
Topic metadata.
Example response
{
"name": "topic",
"offset": 2,
"configs": {
"cleanup.policy": "compact"
},
"partitions": [
{
"partition": 1,
"leader": 1,
"replicas": [
{
"broker": 1,
"leader": true,
"in_sync": true
},
{
"broker": 2,
"leader": false,
"in_sync": true
}
]
},
{
"partition": 2,
"leader": 2,
"replicas": [
{
"broker": 1,
"leader": false,
"in_sync": true
},
{
"broker": 2,
"leader": true,
"in_sync": true
}
]
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the new optional
queryrequest parameterasyncto all path's operations
- info