tencent cloud

Feedback

Disk Utilization Policy

Last updated: 2022-07-06 16:54:26

    Overview

    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
    Note

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

    Feature Entry

    Standard Edition

    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, you can configure a policy to adjust the disk space.

    Pro Edition

    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. Select the Smart Ops tab at the top of the page, select the Elastic Scaling tab, and configure the disk space adjustment policy in the Disk Utilization Policy module.

    Configuring Disk Utilization Policy

    1. In the Disk Utilization Policy module, enable Dynamic Retention Policy.
      Note

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


    2. Click View to view the message retention period of each topic.
    3. 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