View Source Kayrock.Client.ClusterMetadata (kayrock v0.2.0)
Encapsulates what we know about the state of a Kafka broker cluster
Summary
Types
@type node_select_error() :: :no_such_node | :no_such_topic | :no_such_partition
Functions
@spec select_node(t(), Kayrock.node_selector()) :: {:ok, Kayrock.node_id()} | {:error, node_select_error()}