Topic (v3)

Update Partition Count

Changed on

Generally Available

Increase the number of partitions for a topic.

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

Request

  • Base URL
    http://localhost:8082/v3
  • URL
    http://localhost:8082/v3/clusters/{cluster_id}/topics/{topic_name}
  • Auth
    none declared

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

    • breaking

      removed the media type text/plain for the response with the status

    • info

      api operation id updatePartitionCountKafkaV3Topic removed and replaced with updatePartitionCountKafkaTopic

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      api operation id updatePartitionCountKafkaTopic removed and replaced with updatePartitionCountKafkaV3Topic

    • info

      added the media type text/plain for the response with the status

    • info

      removed the non-success response with the status