Adding Partitions to a Topic for a Kafka Instance
This API is out-of-date and may not be maintained in the future. Please use the API described in Adding Partitions to a Topic for a Kafka Instance.
URI
POST /v1.0/{project_id}/instances/{instance_id}/manage/topics/{topic}/partitions-reassignment
The following table describes the parameters.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| project_id | String | Yes | Project ID. |
| instance_id | String | Yes | Instance ID. |
| topic | String | Yes | Topic name. |
Request
Request parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| partition | Integer | Yes | Total number of partitions after the addition. The value must be larger than current number of partitions. Maximum value: 100. |
Example request
{
"partition": 3
} Response
Response parameters
None.
Example response
None.
Status Code
The following table describes the status code for successful operations.
| Status Code | Description |
|---|---|
| 204 | Partitions added successfully. |
Last Article: Querying Topic Details
Next Article: Reassigning Replicas of a Topic for a Kafka Instance
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.