rpk
Use this skill when the user wants to administer or interact with a Kafka-compatible cluster — create/list topics, produce/consume records, check consumer groups and cluster health using the Redpanda CLI.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- rpk
- description
- Use this skill when the user wants to administer or interact with a Kafka-compatible cluster — create/list topics, produce/consume records, check consumer groups and cluster health using the Redpanda CLI.
03 SKILL.md 正文
rpk Plugin
rpk is Redpanda's all-in-one CLI. It speaks the Kafka protocol, so it works against Redpanda, Apache Kafka, and Redpanda Cloud: topic and ACL management, consumer group inspection, record produce/consume, schema registry, and even bootstrapping a local broker.
Commands
rpk cluster info— Brokers, controller, versionsrpk cluster health— Under-replicated/offline partitionsrpk topic create— Create topic (-ppartitions,-rreplicas)rpk topic list— List topicsrpk topic produce— Produce records (args or stdin)rpk topic consume— Consume records (-ooffset,-ggroup,-ncount)rpk _ _— Passthrough to rpk CLI (group, acl, registry, profile, ...)
Usage Examples
- "Create a topic events with 6 partitions on my cluster"
- "Consume the last 10 messages from the orders topic"
- "Check consumer group lag for my pipeline"
Installation
brew install redpanda-data/tap/redpanda
# or download rpk-*-linux-amd64.zip from GitHub releases
rpk version
Examples
# Local playground broker (dev mode, no zookeeper/kraft config)
rpk redpanda start --dev-mode
# Target a remote cluster
rpk -X brokers=kafka.example.com:9092 cluster info
# Produce and consume
rpk topic produce events -k user42 -v '{"action":"login"}'
rpk topic consume events -o start -n 10
# Consumer group lag
rpk group describe my-consumer-group
Key Features
- One binary replaces kafka-topics.sh, kafka-console-producer.sh, etc.
-Xflags orrpk profilefor brokers/TLS/SASL configrpk transformdeploys WASM data transforms in-clusterrpk registrymanages Schema Registry subjects and compatibility--format jsonon most commands for agent pipelines
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
quickstart
暂无简介