2025-12-16 10:20:31 -07:00
|
|
|
# rpk
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
> Manage Redpanda topics, clusters, groups, security, and more via a single binary.
|
2025-12-16 10:20:31 -07:00
|
|
|
> 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`
|