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
- Log in to the Control System and go to the Topics tab in the stream information page.
-
Click
in the Partitions column for the topic.
The Edit Partition window displays.
- Modify the number of partitions and click Save Changes for the changes to take effect.
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
.