v50

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0193273218.8 KB
Topics

Set topic partitions

Set partition counts for existing topics. New value must be equal to or larger than the current count of partitions in the topic. All topics will have the same final count of partitions. Depending on the partitioning strategy used, this may impact ordering guarantees.

put/v1/topics-partitions

Request body

partition_countinteger

The number of partitions to set for the topics.

topic_namesstring[]

The topic names.

validate_onlyboolean

Validate the request only, do not execute it.

Response

OK