Modifying Topic Partitions
Explains how to modify the number of partitions using the Control System and the CLI.
About this task
NOTE
In general, you can increase the number of partitions, but you cannot reduce the
number. However, if the topic is associated with a stream for change logs, you
cannot modify the number of partitions.Modifying Topic Partitions Using the Control System
Procedure
Modifying Topic Partitions Using the CLI or REST API
About this task
The command to modify topic partitions is:
stream topic edit -path <stream path> -topic <topic name> -partitions <number of partitions>
For complete reference information, see
stream topic edit.
in the