huawei-cloud-kafka-replica-reassignment SKILL.md skillA
huawei-cloud-kafka-replica-reassignment from huaweicloud/huaweicloud-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add huaweicloud/huaweicloud-skills/huawei-cloud-kafka-replica-reassignment@git:20261009.060533dPins git:20261009.060533d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- huaweicloud/huaweicloud-skills
- Path
skills/devtools/kafka/huawei-cloud-kafka-replica-reassignment/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261009.060533d, committed Oct 9, 2026
- Size
- 12,709 bytes
- Repository stars
- 59
- License
- MIT
Kafka 集群副本扩容与分区重分配工具:支持可变副本数(1→2、1→3、2→N)、可调磁盘使用率阈值(默认 70%)、Web UI 界面(上传 topic/broker 表格、下载模板、调整参数)、三阶段流水线(分配→合并→转 JSON)每阶段带检查门控、策略化 JSON 文件生成(大 topic 单独出文件、按 N 个 topic 打包,或在 Web UI 上按 topic 个数 / topic 分区大小自定义拆分)、格式 校验、复核报告生成。触发词:Kafka 副本扩容、加副本、副本数调整、partition reassignment、分区重 分配、reassignment json、单副本改双副本/多副本、磁盘使用率分配、dolce_main、broker-main、 topic.xls、broker.xls、kafka reassignment tool。不适用于:仅查询分区现状、非 Kafka 场景的 CSV 转换、集群装机与部署、Kafka 参数调优。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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). | ### JSON Split Strategies | Strategy | Meaning | Parameter Usage | |----------|---------|-----------------| | `size_10g` | Topics with any single partition > 10 GB get their own JSON file; the rest are merged into a common file. | `json_strategy_param` = size threshold (GB), default 10 | …
Read the whole file at its exact version.
How to install
mdr add huaweicloud/huaweicloud-skills/huawei-cloud-kafka-replica-reassignment@sha256:8f0ef05b7b266cb5The line at the top of this page pins the label git:20261009.060533d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_g5cku3lt726mj4hs)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 9, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12709 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
huaweicloud/huaweicloud-skills · 59 stars · license MIT · pushed 2026-11-07 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_g5cku3lt726mj4hs GET https://markdownregistry.com/api/v1/resolve?ref=huaweicloud/huaweicloud-skills/huawei-cloud-kafka-replica-reassignment GET https://markdownregistry.com/api/v1/blob/8f0ef05b7b266cb512f1c71bc526457f64f6c0d28b5b3aec0058952356414c57
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.