conduktor.io ↗

Kafka DescribeGroups Request Wire Format v5 — Binary Protocol Layout

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.

Related Errors

COORDINATOR_NOT_AVAILABLE · GROUP_AUTHORIZATION_FAILED · GROUP_ID_NOT_FOUND · INVALID_GROUP_ID

Wire Diagram

Request Header · flexible
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string (compact)
tagged var
DescribeGroupsRequest v5
Groups []string
IncludeAuthorizedOperations bool · 1B
tagged var

Schema & Example

Schema
{
  "Groups": [string],
  "IncludeAuthorizedOperations": bool
}
Example
{
  "Groups": ["value-1", "value-2"],
  "IncludeAuthorizedOperations": 2
}