add_topic_partitions
Increase the partition count of an existing Kafka topic to handle higher message throughput or improve parallel processing.
Instructions
Add partitions to an existing topic.
Args: environment: The environment name. topic_name: Name of the topic. partitions: New total number of partitions.
Returns: Updated partition count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | Yes | ||
| topic_name | Yes | ||
| partitions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||