tencent cloud

Feedback

Managing Consumer Group

Last updated: 2023-11-16 16:35:20

    Overview

    Data Subscription Kafka Edition allows you to manage a consumer group by deleting it and modifying its password or consumption offset.
    In addition, you can view information such as client ID (the ID of the client consuming the data), partition ID, consumption offset, consumption offset write time, and consumption delay in Consumption Management.

    Prerequisite

    You have created a consumer group as instructed in Creating Consumer Group.

    Note

    If other Kafka clients are consuming the data in the same consumer group, the consumption offset cannot be modified.

    Modifying Consumer Group Password

    1. Log in to the DTS console and select Data Subscription on the left sidebar to enter the data subscription page.
    2. In the data subscription list, select the target data subscription, click the subscription name or View Subscription Details in the Operation column.
    3. On the subscription management page, select the Consumption Management tab and click Change Password in the Operation column.
    4. In the pop-up window, change the password and click Modify.

    Deleting a Consumer Group

    1. Log in to the DTS console and select Data Subscription on the left sidebar to enter the data subscription page.
    2. In the data subscription list, select the target data subscription, click the subscription name or View Subscription Details in the Operation column.
    3. On the subscription management page, select the Consumption Management tab and click Delete in the Operation column.
    4. In the pop-up window, confirm that everything is correct and click OK.
    Note
    After the consumer group is deleted, the consumption offset in the consumer group will be deleted, but the data in the data subscription will not. Proceed with caution.

    Modifying the Consumption Offset

    1. Log in to the DTS console and select Data Subscription on the left sidebar to enter the data subscription page.
    2. In the data subscription list, select the target data subscription, click the subscription name or View Subscription Details in the Operation column.
    3. On the subscription management page, select the Consumption Management tab, select the target consumer group, and click Modify Offset.
    4. In the pop-up window, select the partition for which you want to modify the offset and click Next.
    5. Set the reset method of data consumption and click Complete.
    From latest offset: Reset the consumption offset to the latest offset of Kafka messages.
    From start offset: Reset the consumption offset to the earliest offset from where Kafka messages start to be stored.
    From specified time point: You can enter a time, and DTS will find the consumption offset corresponding to the entered time to start consumption. If you configure a time out of the offset range, the messages will be consumed from the start or latest offset, whichever is closest to the time you entered.
    
    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