tencent cloud

Feedback

Modifying Consumer Group Cursor

Last updated: 2020-05-21 14:20:30

    Feature Description

    This API is used to update a consumer group cursor.

    Request

    Sample request

    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"}

    Request line

    PUT  /consumergroupcursor

    Request header

    There are only common request headers but no special request headers.

    Request parameters

    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

    Response

    Sample response

    HTTP/1.1 200 OK
    Content-Type: application/json
    Content-Length: 123

    Response header

    There are only common response headers but no special response headers.

    Response parameters

    None.

    Error Codes

    For more information, please see Error Codes.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support