conduktor.io ↗

Kafka DescribeGroups Changelog — Protocol Version History

What is DescribeGroups?

Returns the full state of consumer groups including per-member partition assignments, used by kafka-consumer-groups.sh --describe. PreparingRebalance means JoinGroup responses are pending; Stable means all members are heartbeating; Empty means no members but offsets may still exist.

VersionKafkaChanges
DescribeGroupsRequest
v02.2
+ Groups []string
v12.2
are the same as version 0.
v22.2
are the same as version 0.
v32.3
+ IncludeAuthorizedOperations bool
authorized operations can be requested.
v42.4
the response will include group.instance.id info for members.
v52.4
~ Flexible encoding enabled FLEXIBLE
is the first flexible version.
v64.0
returns error code GROUP_ID_NOT_FOUND if the group ID is not found (KIP-1043).
DescribeGroupsResponse
v02.2
+ Groups []DescribedGroup
+ ErrorCode int16
+ GroupId string
+ GroupState string
+ ProtocolType string
+ ProtocolData string
+ Members []DescribedGroupMember
+ MemberId string
+ ClientId string
+ ClientHost string
+ MemberMetadata bytes
+ MemberAssignment bytes
v12.2
+ ThrottleTimeMs int32
added throttle time.
v22.2
on quota violation, brokers send out responses before throttling.
v32.3
+ AuthorizedOperations int32
brokers can send authorized operations.
v42.4
+ GroupInstanceId string
the response will optionally include group.instance.id info for members.
v52.4
~ Flexible encoding enabled FLEXIBLE
is the first flexible version.
v64.0
+ ErrorMessage string
returns error code GROUP_ID_NOT_FOUND if the group ID is not found (KIP-1043).