conduktor.io ↗

Kafka DeleteGroups Response Wire Format v3 — Binary Protocol Layout

What is DeleteGroups?

Removes consumer groups via kafka-consumer-groups.sh --delete. Only works on groups in the Empty state; attempting to delete an active group returns NON_EMPTY_GROUP. Stored offsets are also deleted, so restarting consumers will apply auto.offset.reset.

Related Errors

COORDINATOR_NOT_AVAILABLE · GROUP_AUTHORIZATION_FAILED · GROUP_DELETION_FAILED · INVALID_GROUP_ID · NON_EMPTY_GROUP · UNKNOWN_SERVER_ERROR

Wire Diagram

Response Header · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
DeleteGroupsResponse v3
ThrottleTimeMs int32 · 4B
Results array
tagged var
GroupId string (compact)
ErrorCode int16 · 2B
ErrorMessage? string (compact)
tagged var

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "Results": [{
      "GroupId": string,
      "ErrorCode": int16,
      "ErrorMessage": string?
  }]
}
Example
{
  "ThrottleTimeMs": 0,
  "Results": [{
      "GroupId": "order-processors",
      "ErrorCode": 0,
      "ErrorMessage": "NETWORK_EXCEPTION"
  }]
}