Topic (v3)

Update Partition Count

Generally Available

Increase the number of partitions for a topic. To update other topic configurations, see https://docs.confluent.io/cloud/current/api.html#tag/Configs-(v3)/operation/updateKafkaTopicConfig.

patch/kafka/v3/clusters/{cluster_id}/topics/{topic_name}

Request

  • Base URL
    https://pkc-00000.region.provider.confluent.cloud
  • URL
    https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/{cluster_id}/topics/{topic_name}
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.confluent.cloud/sts/v1/oauth2/token

Request body

partitions_countinteger required

Response

The topic.

kindstring required
cluster_idstring required
topic_namestring required
is_internalboolean required
replication_factorinteger required
partitions_countinteger required
authorized_operationsstring[]

Changes

No recorded changes to this operation across all 7 revisions of this API.