Modifying Kafka Instance Specifications
After creating a Kafka instance, you can expand its storage space, increase the number of brokers, or increase the broker flavor. You can change instances to higher specifications, but not lower ones.
Only one object can be modified per operation: broker quantity, storage space, or broker flavor.
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 |
|
Storage space |
|
Broker flavor |
|
Process of Increasing Broker Flavors
When you scale up 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 the flavor of Broker 0.
- Restart the Kafka process on Broker 0.
- Repeat 1 to 3 to scale up the flavor of Broker 1.
- Repeat 1 to 3 to scale up the flavor of Broker 2.
Procedure
- Log in to the 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 desired instance, choose More > Modify Specifications in the Operation column.
- Specify the storage space, number of brokers, or broker flavor as required.
- Expand the storage space.
- For Change By, select Storage. For Storage space per broker, specify a new storage space, and click Next. The storage space range varies by instance specifications. For details, see Specifications.
- Confirm the configurations and click Submit.
- Return to the instance list and check whether the change succeeded.
- If the instance status has changed from Changing to Running, the change succeeded. 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.
- If the instance status has changed from Changing to Change failed, the change failed. Move the cursor over Change failed to check the failure cause.
Instances in the Change failed state cannot be restarted, modified, or deleted. After the instance status automatically changes from Change failed to Running, you can continue to perform operations on the instance. If the status does not change to Running, contact customer service.
- Add brokers.
- For Change By, select Brokers.
- For Brokers, specify the broker quantity. The broker quantity range varies by instance specifications. For more information, see Kafka Instance Specifications.
- If public access has been enabled, configure EIPs for the new brokers.
- Click Next.
- Confirm the configurations and click Submit.
- Return to the instance list and check whether the change succeeded.
- If the instance status has changed from Changing to Running, the change succeeded. You can check the new broker quantity in the Flavor column.
- If the instance status has changed from Changing to Change failed, the change failed. Move the cursor over Change failed to check the failure cause.
Instances in the Change failed state cannot be restarted, modified, or deleted. After the instance status automatically changes from Change failed to Running, you can continue to perform operations on the instance. If the status does not change to Running, contact customer service.
After adding brokers, add the IP addresses of the new brokers to the client connection configuration to improve reliability.
- Increase the broker flavor.
- For Change By, select Broker Flavor.
- Specify a new broker flavor.
- In the Risk Check area, check for risks.
If any risk is found, handle it as prompted and click Recheck. If the risk does not need to be handled, select I understand the risks.
- Click Next, confirm the information, and click Submit.
- Return to the instance list and check whether the change succeeded.
- If the instance status has changed from Changing to Running, the change succeeded. You can check the new broker flavor in the Flavor column.
- If the instance status has changed from Changing to Change failed, the change failed. Move the cursor over Change failed to check the failure cause.
Instances in the Change failed state cannot be restarted, modified, or deleted. After the instance status automatically changes from Change failed to Running, you can continue to perform operations on the instance. If the status does not change to Running, contact customer service.
- Expand the storage space.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.