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.
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
ReadShareGroupStateRequest v0
GroupId
string (compact)
tagged
var
TopicId
uuid · 16B
tagged
var
Partition
int32 · 4B
LeaderEpoch
int32 · 4B
tagged
var
Schema & Example
Schema { "GroupId": string, "Topics": [{ "TopicId": uuid, "Partitions": [{ "Partition": int32, "LeaderEpoch": int32 }] }] }
Example { "GroupId": "order-processors", "Topics": [{ "TopicId": "550e8400-e29b-41d4-a716-446655440000", "Partitions": [{ "Partition": 0, "LeaderEpoch": 17 }] }] }