Docs Self-Managed Reference rpk Commands rpk group rpk group delete rpk group delete Delete consumer groups explicitly through rpk group delete. This allows you to proactively manage offsets, for example, when you’ve created temporary groups for quick investigation or testing and you want to clear offsets sooner than the automatic cleanup. Consumer groups are automatically deleted when the last committed offset expires. Group offset deletion can happen through: Kafka OffsetDelete API: Offsets can be explicitly deleted using the Kafka OffsetDelete API. See rpk group offset delete. Periodic Offset Expiration: Offsets expire automatically when the group has been empty for a set duration. See also: Cluster properties: group_offset_retention_sec Usage rpk group delete [GROUPS...] [flags] Flags Value Type Description -h, --help - Help for delete. --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk group rpk group offset-delete