This API is used to update a consumer group cursor.
PUT /consumergroupcursor?topic_id=xxxx-xx-xx-xx-xxxx&consumer_group=cls_demo_consumer_group&partition_id=1 HTTP/1.1
Host: <Region>.cls.tencentyun.com
Content-Type: application/json
Authorization: <AuthorizationString>
{"consumer_id": "cls_demo_consumer_1", "cursor": "FAjUjMtmELBo"}
PUT /consumergroupcursor
There are only common request headers but no special request headers.
Field Name | Type | Location | Required | Description |
---|---|---|---|---|
topic_id | string | query | Yes | Log topic ID of consumer group |
consumer_group | string | query | Yes | Consumer group name |
partition_id | int | query | Yes | Topic partition number |
consumer_id | string | body | No | Consumer group name |
cursor | string | body | Yes | Cursor value |
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 123
There are only common response headers but no special response headers.
None.
For more information, please see Error Codes.
Was this page helpful?