conduktor.io ↗

Kafka AlterShareGroupOffsets Response Wire Format v0 — Binary Protocol Layout

What is AlterShareGroupOffsets?

Resets or advances a share group's start offset for specific partitions, the equivalent of kafka-consumer-groups.sh --reset-offsets for share groups. Use this to skip over poison-pill records causing repeated delivery failures across all members.

Related Errors

COORDINATOR_NOT_AVAILABLE · GROUP_AUTHORIZATION_FAILED · INVALID_GROUP_ID · TOPIC_AUTHORIZATION_FAILED · UNKNOWN_TOPIC_OR_PARTITION · UNSUPPORTED_VERSION

Wire Diagram

Response Header · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
AlterShareGroupOffsetsResponse v0
ThrottleTimeMs int32 · 4B
ErrorCode int16 · 2B
ErrorMessage? string (compact)
Responses array
tagged var
TopicName string (compact)
TopicId uuid · 16B
Partitions array
tagged var
PartitionIndex int32 · 4B
ErrorCode int16 · 2B
ErrorMessage? string (compact)
tagged var

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "ErrorCode": int16,
  "ErrorMessage": string?,
  "Responses": [{
      "TopicName": string,
      "TopicId": uuid,
      "Partitions": [{
          "PartitionIndex": int32,
          "ErrorCode": int16,
          "ErrorMessage": string?
      }]
  }]
}
Example
{
  "ThrottleTimeMs": 0,
  "ErrorCode": 0,
  "ErrorMessage": "NETWORK_EXCEPTION",
  "Responses": [{
      "TopicName": "orders",
      "TopicId": "550e8400-e29b-41d4-a716-446655440000",
      "Partitions": [{
          "PartitionIndex": 3,
          "ErrorCode": 0,
          "ErrorMessage": "NETWORK_EXCEPTION"
      }]
  }]
}