What is WriteShareGroupState?
Durably persists delivery state updates after consumers acknowledge records. This write is on the critical path of ShareAcknowledge, so high latency here (slow disk on the coordinator broker) directly impacts acknowledgement throughput.
Wire Diagram
Response Header · flexible
message_size
int32 · 4B
correlation_id
int32 · 4B
tagged
var
WriteShareGroupStateResponse v0
tagged
var
TopicId
uuid · 16B
tagged
var
Partition
int32 · 4B
ErrorCode
int16 · 2B
ErrorMessage?
string (compact)
tagged
var
Schema & Example
Schema { "Results": [{ "TopicId": uuid, "Partitions": [{ "Partition": int32, "ErrorCode": int16, "ErrorMessage": string? }] }] }
Example { "Results": [{ "TopicId": "550e8400-e29b-41d4-a716-446655440000", "Partitions": [{ "Partition": 0, "ErrorCode": 0, "ErrorMessage": "NETWORK_EXCEPTION" }] }] }