v50

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

Set topic partitions

Set partitions to an existing topic. New value must be equal to or larger than the current count of partitions in the topic. Depending on the partitioning strategy used, this may impact ordering guarantees.

put/v1/topics/{topic_name}/partitions

Path parameters

topic_namestring required

The topic name.

Request body

partition_countinteger

The number of partitions to set for the topic.

validate_onlyboolean

Validate the request only, do not execute it.

Response

OK

SetTopicPartitionsResponse required