Updated on 2022-08-12 GMT+08:00

Modifying Instance Specifications

Scenario

You can increase the bandwidth and storage space of Kafka instances. The storage space can be expanded a maximum of 20 times. If you increase the bandwidth, the maximum number of partitions will also be increased.

You can change instances to higher specifications, but not lower ones.

Note

  • The storage space and bandwidth cannot be expanded at the same time.
  • During bandwidth increase, the storage space is proportionally expanded based on the current disk space.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the same region as your application service.

  3. Click and choose Application > Distributed Message Service for Kafka to open the console of DMS for Kafka.
  4. In the row containing the instance for which you want to modify the specifications, choose More > Modify Specifications in the Operation column.
  5. Specify the required storage space or bandwidth.

    The storage space and bandwidth cannot be expanded at the same time.
    • Specify a new bandwidth, click Next, confirm the details, and click Submit.

      View the new Bandwidth of the instance on the instance details page.

      • Bandwidth is increased by scaling out brokers. The original brokers and services are not affected.
      • New topics are created on new brokers. After the bandwidth is increased, the original topics are still on the original brokers. To use new brokers, migrate the topics by using Kafka Manager or create new topics.
    • Specify a new storage space, click Next, confirm the details, and click Submit.

      View the new storage space in the Used/Available Storage Space (GB) column in the instance list.

      • Storage space expansion does not affect services.
      • Available storage space = Actual storage space – Storage space for storing logs and ZooKeeper data – Disk formatting loss

        For example, if the storage space is expanded to 700 GB, the storage space for storing logs and ZooKeeper data is 100 GB, and the disk formatting loss is 7 GB, then the available storage space after capacity expansion will be 593 GB.