conduktor.io ↗

Kafka SyncGroup Response Wire Format v5 — 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 · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
SyncGroupResponse v5
ThrottleTimeMs int32 · 4B
ErrorCode int16 · 2B
ProtocolType? string (compact)
ProtocolName? string (compact)
Assignment bytes (compact)
tagged var

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "ErrorCode": int16,
  "ProtocolType": string?,
  "ProtocolName": string?,
  "Assignment": bytes
}
Example
{
  "ThrottleTimeMs": 0,
  "ErrorCode": 0,
  "ProtocolType": null,
  "ProtocolName": null,
  "Assignment": "<assignment>"
}