Consumers
GET /consumers/{groupid}/instances/{name}/subscription
Changed onRetrieves a list of the topics to which the consumer is subscribed.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
groupidstring required
ID of the consumer group to which the subscribed consumer belongs.
namestring required
Name of the subscribed consumer.
Response
List of subscribed topics and partitions.
Example response
{
"topics": [
"my-topic1",
"my-topic2"
],
"partitions": [
{
"my-topic1": [
1,
2,
3
]
},
{
"my-topic2": [
1
]
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
added the new path request parameter
groupid - breaking
added the new path request parameter
name
- breaking