Kayrock.DeleteTopics.V4.Response (kayrock v1.0.0-rc1)

Copy Markdown View Source

Kayrock-generated response struct for Kafka delete_topics v4 API messages

The schema of this API is

[
  throttle_time_ms: :int32,
  responses: {:compact_array,
   [name: :compact_string, error_code: :int16, tagged_fields: :tagged_fields]},
  tagged_fields: :tagged_fields
]

Summary

Types

t()

Response struct for the Kafka delete_topics API v4

Functions

Returns the Kafka API key for this API

Returns the API version (4) implemented by this module

Deserialize data for this version of this API

Returns the schema of this message

Types

t()

@type t() :: %Kayrock.DeleteTopics.V4.Response{
  correlation_id: integer(),
  responses:
    nil
    | [
        %{
          name: nil | binary(),
          error_code: nil | integer(),
          tagged_fields: [{non_neg_integer(), binary()}]
        }
      ],
  tagged_fields: [{non_neg_integer(), binary()}],
  throttle_time_ms: nil | integer()
}

Response struct for the Kafka delete_topics API v4

Functions

api_key()

@spec api_key() :: integer()

Returns the Kafka API key for this API

api_vsn()

@spec api_vsn() :: integer()

Returns the API version (4) implemented by this module

deserialize(data)

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

Deserialize data for this version of this API

schema()

@spec schema() :: term()

Returns the schema of this message

See above.