Modifying Instance Specifications
Scenario
After creating a Kafka instance, you can increase or decrease its specifications. Table 1 lists available modification options.
Old/New Flavor |
Modified Object |
Increase |
Decrease |
---|---|---|---|
New flavor |
Broker quantity |
√ |
× |
Storage space |
√ |
× |
|
Broker flavor |
√ |
√ |
|
Old flavor |
Bandwidth |
√ |
× |
Storage space |
√ |
× |
|
Broker flavor |
× |
× |
Distinguishing between old and new specifications:
- Old specifications: In the instance list, the instance specification is displayed as bandwidth (for example, 100 MB/s).
- New specifications: In the instance list, the instance specification is displayed as the ECS flavor multiplied by the number of brokers (for example, kafka.2u4g.cluster*3 brokers).
Impact of Specification Modification
It takes 5 to 10 minutes to modify specifications on one broker. The more brokers, the longer time the modification takes.
Modified Object |
Impact |
---|---|
Broker quantity or bandwidth |
|
Storage space |
|
Broker flavor |
|
Process of Increasing or Decreasing Broker Flavors
When you scale up or down the broker flavor, a rolling restart is performed on brokers. The following process takes three brokers as an example:
- Stop the Kafka process on Broker 0.
- Scale up or down the flavor of Broker 0.
- Restart the Kafka process on Broker 0.
- Repeat 1 to 3 to scale up or down the flavor of Broker 1.
- Repeat 1 to 3 to scale up or down the flavor of Broker 2.
Procedure
- Log in to the management console.
- Click in the upper left corner to select a region.
Select the region where your Kafka instance is located.
- Click and choose Application > Distributed Message Service for Kafka to open the console of DMS for Kafka.
- In the row containing the instance for which you want to modify the specifications, choose More > Modify Specifications in the Operation column.
- Specify the required storage space, broker quantity, broker flavor, or bandwidth.
To modify old specifications, perform the following steps:
- Increase the bandwidth.
Specify a new bandwidth and click Next. Confirm the configurations and click Submit.
View the new bandwidth of the instance in the Specifications column in the instance list.
After increasing the bandwidth, add the IP address of the new broker to the client connection configuration to improve reliability.
- Expand the storage space.
Specify a new storage space and click Next. Confirm the configurations and click Submit.
View the new storage space in the Used/Available Storage Space (GB) column in the instance list.
To modify new specifications, perform the following steps:
- Expand the storage space.
For Change By, select Storage. For Storage Space per Broker, specify a new storage space, and click Next. Confirm the configurations and click Submit.
View the new storage space (Storage space per broker x Number of brokers) in the Used/Available Storage Space (GB) column in the instance list.
- Add brokers.
For Change By, select Brokers and enter the number of brokers. If public access is enabled, configure EIPs for the new brokers. Then click Next. Confirm the configurations and click Submit.
View the number of brokers in the Specifications column in the instance list.
After adding brokers, add the IP addresses of the new brokers to the client connection configuration to improve reliability.
- Increase or decrease the broker flavor.
For Change By, select Broker Flavor. Then, select a new broker flavor and click Next. Confirm the configurations and click Submit.
View the broker flavor in the Flavor column in the instance list.
- Increase the bandwidth.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot