huawei-cloud-kafka-replica-reassignment
Installation
SKILL.md
Kafka Replica Expansion & Partition Reassignment
Expand Kafka cluster partitions from their current replication factor to a target factor and
produce partition reassignment JSON that can be passed directly to
kafka-reassign-partitions.sh --execute.
Configurable Parameters
| Parameter | Default | Description |
|---|---|---|
replica_count |
2 | Target replication factor. Accepts 2, 3, N. The scripts add replica_count - current_replicas new replicas per partition. |
disk_threshold |
70 | Disk usage ceiling (%). After allocation, no mount point's projected usage may exceed this value. |
json_strategy |
size_10g |
Strategy for splitting the output JSON, described below. |
json_strategy_param |
10 | Strategy parameter (topic-count threshold or size threshold, depending on strategy). |