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.
| Version | Kafka | Changes |
|---|---|---|
| DescribeShareGroupOffsetsRequest | ||
| v0 | 4.1 | + Groups []DescribeShareGroupOffsetsRequestGroup+ GroupId string+ Topics []DescribeShareGroupOffsetsRequestTopic+ TopicName string+ Partitions []int32~ Flexible encoding enabled FLEXIBLE is the initial version (KIP-932). |
| v1 | 4.2 | introduces Lag in the response (KIP-1226). |
| DescribeShareGroupOffsetsResponse | ||
| v0 | 4.1 | + ThrottleTimeMs int32+ Groups []DescribeShareGroupOffsetsResponseGroup+ GroupId string+ Topics []DescribeShareGroupOffsetsResponseTopic+ TopicName string+ TopicId uuid+ Partitions []DescribeShareGroupOffsetsResponsePartition+ PartitionIndex int32+ StartOffset int64+ LeaderEpoch int32+ ErrorCode int16+ ErrorMessage string+ ErrorCode int16+ ErrorMessage string~ Flexible encoding enabled FLEXIBLE is the initial version (KIP-932). |
| v1 | 4.2 | + Lag int64introduces Lag (KIP-1226). |