tencent cloud


Automatic Disk Capacity Expansion

Last updated: 2022-05-17 12:26:31


    CKafka supports automatic adjustment of the disk utilization. After the disk utilization reaches the threshold, you can set the Dynamic Message Retention Policy to reduce the message retention time or set the Automatic Disk Capacity Expansion to adjust the disk space.

    • Dynamic Message Retention Policy: After you set the message retention time, expired messages will be deleted. In case of message surges, normal production and consumption cannot be performed after the disk is full. If you set a dynamic retention policy, when the disk utilization reaches a certain percentage, a certain proportion of data will be automatically expired to avoid the above issue.
    • Automatic Disk Capacity Expansion: When the disk load gets heavy, messages cannot be produced and consumed normally. After the automatic disk capacity expansion policy is set, when the disk load reaches the trigger threshold, the disk capacity will be automatically adjusted according to the policy, thus avoiding this problem.
    Policy Supported by CKafka Standard Edition Supported by CKafka Pro Edition
    Dynamic message retention Yes Yes
    Automatic disk capacity expansion No Yes

    You can enable either dynamic message retention or automatic disk capacity expansion at any time.


    1. Log in to the CKafka console.
    2. Click Instance List on the left sidebar and click the ID/Name of the target instance to enter the basic information page.
    3. In the Disk Utilization Policy module on the instance's basic information page, enable Dynamic Message Retention Policy.

      The default dynamic policy reduces the message retention time by 10% when the disk load reaches 90%.

    4. Click View to view the message retention time of each topic.
    5. Click Configure in the Operation column of the dynamic retention policy to configure Dynamic Policy and Minimum Retention Period.
    • Dynamic Policy: After message retention time adjustment is triggered, the broker will delete the oldest historical data according to the new retention time. This feature has a certain delay.
    • Minimum Retention Period: It can be 1 minute to 30 hours. If the dynamic retention period is lower than this parameter, no dynamic adjustment will be triggered.
    1. Click Adjustment Record to view the dynamic adjustment records of the message retention period.
    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