Queries the checkpoints of a shard from which data is consumed by a consumer group.
Operation description
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /logstores/{logstore}/consumergroups/{consumerGroup} HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
logstore | string | Yes | The name of the Logstore. | test-logstore |
consumerGroup | string | Yes | The name of the consumer group. | consumer-group-1 |
shard | integer | No | The shard ID.
| 1 |
Response parameters
Examples
Sample success responses
JSON
format
[
{
"shard": 0,
"checkpoint": "MTUyNDE1NTM3OTM3MzkwODQ5Ng==",
"updateTime": 1524224984800922,
"consumer": "consumer_1"
}
]
Error codes
For a list of error codes, visit the Service error codes.