conduktor.io ↗

Kafka SyncGroup Response Wire Format v3 — Binary Protocol Layout

What is SyncGroup?

After JoinGroup, the elected leader pushes computed assignments via SyncGroup, and every member waits for the response to learn its own assignment. A rebalance that completes JoinGroup but hangs here usually means the leader is taking too long to compute assignments (large groups, slow custom assignors).

Related Errors

COORDINATOR_NOT_AVAILABLE · FENCED_INSTANCE_ID · GROUP_AUTHORIZATION_FAILED · INCONSISTENT_GROUP_PROTOCOL · INVALID_GROUP_ID · REBALANCE_IN_PROGRESS · UNKNOWN_MEMBER_ID

Wire Diagram

Response Header
message_size int32 · 4B
correlation_id int32 · 4B
SyncGroupResponse v3
ThrottleTimeMs int32 · 4B
ErrorCode int16 · 2B
Assignment bytes

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "ErrorCode": int16,
  "Assignment": bytes
}
Example
{
  "ThrottleTimeMs": 0,
  "ErrorCode": 0,
  "Assignment": "<assignment>"
}