rpk group delete
Delete one or more consumer groups.
You may want to delete groups to clean up committed offsets sooner than they expire automatically, such as when you create temporary groups for quick investigation or testing. This command helps you do that.
Consumer groups are automatically deleted when the last committed offset expires. Group offset deletion can happen through:
-
Kafka
OffsetDeleteAPI: Offsets can be explicitly deleted using the KafkaOffsetDeleteAPI. Seerpk group offset delete. -
Periodic offset expiration: Offsets expire automatically when the group has been empty for a set duration.
Flags
| Value | Type | Description |
|---|---|---|
|
string |
Output format ( |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |