After creating a topic, you can increase the number of partitions as required.
Changing the number of partitions does not restart the instance or affect services.
Methods for changing the partition quantity:
Select the region where your Kafka instance is located.
If your Kafka client version is later than 2.2, you can use kafka-topics.sh to change the partition quantity.
For an instance with ciphertext access enabled, if allow.everyone.if.no.acl.found is set to false, topic partition quantity cannot be modified through the client.
./kafka-topics.sh --bootstrap-server ${connection-address} --topic ${topic-name} --alter --partitions ${number-of-partitions}
./kafka-topics.sh --bootstrap-server ${connection-address} --topic ${topic-name} --alter --partitions ${number-of-partitions} --command-config ./config/ssl-user-config.properties