-
Notifications
You must be signed in to change notification settings - Fork 803
http request list consumers
Todd Palino edited this page Dec 1, 2017
·
4 revisions
List Consumers
This endpoint returns a list of the consumer groups in the specified Kafka cluster. Note that this may not be a complete list of consumer groups - it is just the consumer groups that Burrow is aware of from offset commits.
GET /v3/kafka/(cluster)/consumer
Name | Format | Description |
---|---|---|
cluster | string | The name of a Kafka cluster, as returned by the [[List Clusters |
The response contains a consumers
key whose value is a list of group names:
{
"error": false,
"message": "consumer list returned",
"consumers": [
"group1",
"group2"
],
"request": {
"url": "/v3/kafka/clustername/consumer",
"host": "responding.host.example.com",
}
}
- Cluster Not Found If an unknown cluster name is provided, a 404 error will be returned with a JSON response body.
- JSON Encoding Error If there is a failure encoding the JSON response, a 500 error will be returned with a JSON response body.