conduktor.io ↗

Kafka DescribeShareGroupOffsets Request Wire Format v1 — Binary Protocol Layout

What is DescribeShareGroupOffsets?

Shows consumption progress of a share group, specifically the start offset and state epoch per partition. Unlike consumer group offsets (a single committed offset), share group state is more complex because multiple records can be in-flight simultaneously.

Related Errors

COORDINATOR_NOT_AVAILABLE · GROUP_AUTHORIZATION_FAILED · TOPIC_AUTHORIZATION_FAILED · UNSUPPORTED_VERSION

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
DescribeShareGroupOffsetsRequest v1
Groups array
tagged var
GroupId string (compact)
Topics? array
tagged var
TopicName string (compact)
Partitions []int32
tagged var

Schema & Example

Schema
{
  "Groups": [{
      "GroupId": string,
      "Topics": [{
          "TopicName": string,
          "Partitions": [int32]
      }]?
  }]
}
Example
{
  "Groups": [{
      "GroupId": "order-processors",
      "Topics": [{
          "TopicName": "orders",
          "Partitions": [1, 2, 3]
      }]?
  }]
}