kvasir v0.0.1-proto5b Kvasir.Offset View Source

Kafka offset per partition.

Link to this section Summary

Types

t()

Kafka offset per partition

Link to this section Types

Link to this type t() View Source
t() :: %Kvasir.Offset{offset: term(), partitions: term()} | :earliest

Kafka offset per partition.

Link to this section Functions

Link to this function compare(arg1, to) View Source
compare(t(), t() | map() | list()) :: :lt | :eg | :gt
compare(map(), list()) :: :lt | :eg | :gt
Link to this function create(partitions \\ []) View Source
create(map() | list()) :: t()
Link to this function create(partition, offset) View Source
create(non_neg_integer(), non_neg_integer()) :: t()
Link to this function do_compare(partitions, list) View Source
Link to this function partition(offset, partition) View Source
partition(t(), non_neg_integer()) :: t()
Link to this function partitions(offset) View Source
partitions(t()) :: [non_neg_integer()]
Link to this function set(t, set) View Source
set(t(), t()) :: t()
Link to this function set(t, partition, offset) View Source
set(t(), non_neg_integer(), non_neg_integer()) :: t()