You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Consumer group management API
DescribeCheckPoint
Copy page
Download PDF
DescribeCheckPoint
Call the DescribeCheckPoint interface to view the current consumption checkpoint of the specified consumer group on the specified shard.​
Usage notes​
  • This interface is used to obtain the consumption checkpoint of the specified consumer group on the specified topic or shard from the server.​
  • The call frequency limit is 20 times/s, and exceeding the frequency limit will report an error ExceedQPSLimit.​
Request syntax​
  • Request Method:GET​
  • Request URL:https://{tls-endpoint}/DescribeCheckPoint​
Request parameters​
The table below only lists the request parameters specific to this interface and some common parameters. For more information, please see Common parameters.​
Query​
​
Name​
Type​
Required​
Example​
Description​
ProjectId​
String​
True​
"fa************"​
The project ID to which the checkpoint to be queried belongs.​
TopicId​
String​
True​
"hsdgyr*****"​
The topic ID to which the checkpoint to be queried belongs.​
ShardId​
String​
True​
"12"​
The shard ID to which the checkpoint to be queried belongs.​
​
Body​
​
Name​
Type​
Required​
Example​
Description​
ConsumerGroupName​
String​
False​
consumerGroupA​
The consumer group name to which the checkpoint to be queried belongs.​
​
Responses​
The table below only lists the return parameters specific to this interface. For more information, please refer to the Response message.​
​
Name​
Type​
Example​
Description​
ShardID​
Integer​
0​
The shard ID.​
Checkpoint​
String​
NjUwYzRkYTgtMi0wMDAwMDAwMDAwMDAwMzE0LTAwNGY1LTA=​
The consumption checkpoint of the specified consumer group on the specified Shard, that is, consumption progress.​
​
Sample Request​
​
GET https://{tls-endpoint}/DescribeCheckPoint HTTP/1.1​
​
Sample Response​
​
HTTP/1.1 200 OK​
Content-Type: application/json; charset=utf-8 ​
{​
"ShardID": 0,​
"Checkpoint": "NjUwYzRkYTgtMi0wMDAwMDAwMDAwMDAwMzE0LTAwNGY1LTA="​
}​
​
Error code​
The following table lists the error codes related to the interface and business logic. For common error codes, please refer to the Common error codes.​
​
HTTP status code​
Error code​
Error message​
Description​
400​
InvalidArgument​
Invalid argument key %s, value %s, please check argument.​
The parameter is invalid.​
500​
InternalServerError​
We encountered an unexpected server error, please try again later.​
Internal server error.​
​
​
​
Last updated: 2025.10.28 18:42:01