What is ReadShareGroupState?
Recovers delivery state (acknowledged records, in-flight records) from durable storage after a coordinator failover. This is how share groups survive coordinator restarts without losing track of which records have been delivered.
| Version | Kafka | Changes |
|---|---|---|
| ReadShareGroupStateRequest | ||
| v0 | 3.9 | + GroupId string+ Topics []ReadStateData+ TopicId uuid+ Partitions []PartitionData+ Partition int32+ LeaderEpoch int32~ Flexible encoding enabled FLEXIBLE |
| ReadShareGroupStateResponse | ||
| v0 | 3.9 | + Results []ReadStateResult+ TopicId uuid+ Partitions []PartitionResult+ Partition int32+ ErrorCode int16+ ErrorMessage string+ StateEpoch int32+ StartOffset int64+ StateBatches []StateBatch+ FirstOffset int64+ LastOffset int64+ DeliveryState int8+ DeliveryCount int16~ Flexible encoding enabled FLEXIBLE |