conduktor.io ↗

Kafka DeleteGroups Response Wire Format v1 — 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 · INVALID_GROUP_ID · NON_EMPTY_GROUP

Wire Diagram

Response Header
message_size int32 · 4B
correlation_id int32 · 4B
DeleteGroupsResponse v1
ThrottleTimeMs int32 · 4B
Results array
GroupId string
ErrorCode int16 · 2B

Schema & Example

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