Topics

Set topic partitions

Changed on

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

  • Base URL
    https://{dataplane_api_url}
  • Auth
    OAuth 2
    Implicit: https://auth.prd.cloud.redpanda.com/oauth/authorize

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

Changes