View Source KafkaEx.Protocol.Kayrock.OffsetFetch.Response protocol (kafka_ex v1.0.0-rc.1)
This protocol is used to parse Offset Fetch responses.
Return Values
{:ok, [Offset.t()]}on success with offset data{:error, term}on error with error details
All known versions (V0-V6) have explicit implementations.
The Any fallback handles unknown future versions.
Summary
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec parse_response(t()) :: {:ok, [KafkaEx.Messages.Offset.t()]} | {:error, term()}