conduktor.io ↗

Kafka DeleteShareGroupState Request Wire Format v0 — Binary Protocol Layout

What is DeleteShareGroupState?

Cleans up state in __share_group_state when a share group is deleted or a partition is removed from a share group's subscription. Leftover state would cause the group to resume from an old position if recreated with the same name.

Related Errors

CLUSTER_AUTHORIZATION_FAILED · COORDINATOR_NOT_AVAILABLE

Wire Diagram

Request Header · flexible
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string (compact)
tagged var
DeleteShareGroupStateRequest v0
GroupId string (compact)
Topics array
tagged var
TopicId uuid · 16B
Partitions array
tagged var
Partition int32 · 4B
tagged var

Schema & Example

Schema
{
  "GroupId": string,
  "Topics": [{
      "TopicId": uuid,
      "Partitions": [{
          "Partition": int32
      }]
  }]
}
Example
{
  "GroupId": "order-processors",
  "Topics": [{
      "TopicId": "550e8400-e29b-41d4-a716-446655440000",
      "Partitions": [{
          "Partition": 0
      }]
  }]
}