Files
cheatsheet-tldr/tldr/rpk
2025-12-22 00:22:43 +00:00

42 lines
738 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rpk
> Manage Redpanda topics, clusters, groups, security, and more via a single binary.
> More information: <https://docs.redpanda.com/current/reference/rpk/>.
- Create a new topic:
`rpk topic create {{topic_name}}`
- Produce a message to a topic:
`rpk topic produce {{topic_name}}`
- Consume messages from multiple topics:
`rpk topic consume {{topic_name1 topic_name2 ...}}`
- List all topics:
`rpk topic list`
- Display cluster information:
`rpk cluster info`
- List all consumer groups:
`rpk group list`
- Describe a consumer group with lag information:
`rpk group describe {{group_name}}`
- Display version:
`rpk version`