View Source KafkaEx.Protocol.Kayrock.ListGroups.Response protocol (kafka_ex v1.1.0)

This protocol is used to parse List Groups responses.

Return Values

  • Success: {:ok, [ConsumerGroupListing.t()]}
  • Error: {:error, KafkaEx.Client.Error.t()} (the top-level error code)

All known versions (V0-V3) have explicit implementations. The Any fallback handles unknown future versions.

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

parse_response(response)

View Source
@spec parse_response(t()) ::
  {:ok, [KafkaEx.Messages.ConsumerGroupListing.t()]}
  | {:error, KafkaEx.Client.Error.t()}