rpk group list

List all groups.

This command lists all groups currently known to Redpanda, including empty groups that have not yet expired. The BROKER column is which broker node is the coordinator for the group. This command can be used to track down unknown groups, or to list groups that need to be cleaned up.

The STATE column shows which state the group is in:

  • PreparingRebalance: The group is preparing to rebalance.

  • CompletingRebalance: The group is waiting for the leader to provide assignments.

  • Stable: The group is not empty and has no group membership changes in process.

  • Dead: Transient state as the group is being removed.

  • Empty: The group currently has no members.

Usage

rpk group list [flags]

Aliases

list, ls

Flags

Value Type Description

-h, --help

-

Help for list.

-s, --states

strings

Comma-separated list of group states to filter for. Possible states: [PreparingRebalance, CompletingRebalance, Stable, Dead, Empty].

--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.