conduktor.io ↗

Kafka ListGroups Changelog — Protocol Version History

What is ListGroups?

Enumerates all consumer groups known to a broker, used by kafka-consumer-groups.sh --list. Each broker only knows about groups it coordinates, so you must query all brokers for the complete picture (AdminClient does this automatically).

VersionKafkaChanges
ListGroupsRequest
v02.2No changes
v12.2
are the same as version 0.
v22.2
are the same as version 0.
v32.4
~ Flexible encoding enabled FLEXIBLE
is the first flexible version.
v42.6
+ StatesFilter []string
adds the StatesFilter field (KIP-518).
v53.8
+ TypesFilter []string
adds the TypesFilter field (KIP-848).
ListGroupsResponse
v02.2
+ ErrorCode int16
+ Groups []ListedGroup
+ GroupId string
+ ProtocolType string
v12.2
+ ThrottleTimeMs int32
adds the throttle time.
v22.2
on quota violation, brokers send out responses before throttling.
v32.4
~ Flexible encoding enabled FLEXIBLE
is the first flexible version.
v42.6
+ GroupState string
adds the GroupState field (KIP-518).
v53.8
+ GroupType string
adds the GroupType field (KIP-848).