conduktor.io ↗

Kafka InitializeShareGroupState Response Wire Format v0 — Binary Protocol Layout

What is InitializeShareGroupState?

Sets up the persistent state partition in __share_group_state before a share group can start consuming (internal, not called by operators). Failures here (e.g., authorization issues on the internal topic) prevent share groups from starting.

Related Errors

CLUSTER_AUTHORIZATION_FAILED · COORDINATOR_NOT_AVAILABLE

Wire Diagram

Response Header · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
InitializeShareGroupStateResponse v0
Results array
tagged var
TopicId uuid · 16B
Partitions array
tagged var
Partition int32 · 4B
ErrorCode int16 · 2B
ErrorMessage? string (compact)
tagged var

Schema & Example

Schema
{
  "Results": [{
      "TopicId": uuid,
      "Partitions": [{
          "Partition": int32,
          "ErrorCode": int16,
          "ErrorMessage": string?
      }]
  }]
}
Example
{
  "Results": [{
      "TopicId": "550e8400-e29b-41d4-a716-446655440000",
      "Partitions": [{
          "Partition": 0,
          "ErrorCode": 0,
          "ErrorMessage": null
      }]
  }]
}