kafka__UpdateTopicReplica
Adjust Kafka topic partition replica assignments by specifying target broker IDs per partition, enabling rebalancing or recovery of replica placement in Huawei Cloud Kafka instances.
Instructions
[KAFKA] 修改Kafka实例Topic分区的副本。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"topic": "<topic>"
},
"name": "kafka__UpdateTopicReplica"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Topic名称。 | |
| partitions | No | 期望调整的分区副本分配情况。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。 | |
| instance_id | Yes | 实例ID。 |