All Products
Search
Document Center

:ListConsumerGroup

Last Updated:Jul 25, 2024

Queries all consumer groups of a Logstore.

Operation description

Usage notes

Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /logstores/{logstore}/consumergroups

Request parameters

ParameterTypeRequiredDescriptionExample
projectstringYes

The name of the project.

ali-test-project
logstorestringYes

The name of the Logstore.

ali-test-logstore

Response parameters

ParameterTypeDescriptionExample
array

The consumer groups.

ConsumerGroup

The information about the consumer group.

test-consumer-group

Examples

Sample success responses

JSONformat

[
  {
    "name": "test-consumer-group",
    "timeout": 300,
    "order": false
  }
]

Error codes

For a list of error codes, visit the Service error codes.