mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
738 B
Plaintext
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`
|