Kayrock.OffsetCommit.V3.Response (kayrock v0.1.12) View Source

Kayrock-generated response struct for Kafka offset_commit v3 API messages

The schema of this API is

[
  throttle_time_ms: :int32,
  responses: {:array,
   [
     topic: :string,
     partition_responses: {:array, [partition: :int32, error_code: :int16]}
   ]}
]

Link to this section Summary

Types

t()

Response struct for the Kafka offset_commit API v3

Functions

Returns the Kafka API key for this API

Returns the API version (3) implemented by this module

Deserialize data for this version of this API

Returns the schema of this message

Link to this section Types

Specs

t() :: %Kayrock.OffsetCommit.V3.Response{
  correlation_id: integer(),
  responses: [
    %{
      topic: nil | binary(),
      partition_responses: [
        %{partition: nil | integer(), error_code: nil | integer()}
      ]
    }
  ],
  throttle_time_ms: nil | integer()
}

Response struct for the Kafka offset_commit API v3

Link to this section Functions

Specs

api_key() :: integer()

Returns the Kafka API key for this API

Specs

api_vsn() :: integer()

Returns the API version (3) implemented by this module

Specs

deserialize(binary()) :: {t(), binary()}

Deserialize data for this version of this API

Specs

schema() :: term()

Returns the schema of this message

See above.