kafka_impl v0.4.2 KafkaImpl behaviour
Summary
Functions
offset(topic, partition, time, name)
offset(binary, number, :calendar.datetime | atom, atom | pid) :: [KafkaEx.Protocol.Offset.Response.t] | :topic_not_found
Callbacks
create_no_name_worker(arg0, arg1)
create_no_name_worker(KafkaEx.uri, String.t) :: Supervisor.on_start_child
create_no_name_worker(arg0, arg1, arg2)
create_no_name_worker(String.t | atom, KafkaEx.uri, String.t) :: Supervisor.on_start_child
earliest_offset(binary, integer, arg2)
earliest_offset(binary, integer, atom | pid) :: [KafkaEx.Protocol.Offset.Response.t] | :topic_not_found
fetch(binary, number, arg2)
fetch(binary, number, Keyword.t) :: [KafkaEx.Protocol.Fetch.Response.t] | :topic_not_found
latest_offset(binary, integer, arg2)
latest_offset(binary, integer, atom | pid) :: [KafkaEx.Protocol.Offset.Response.t] | :topic_not_found
offset_commit(arg0, arg1)
offset_commit(pid | atom, KafkaEx.Protocol.OffsetCommit.Request.t) :: KafkaEx.Protocol.OffsetCommit.Response.t
offset_fetch(atom, arg1)
offset_fetch(atom, KafkaEx.Protocol.OffsetFetch.Request.t) :: [KafkaEx.Protocol.OffsetFetch.Response.t] | :topic_not_found
produce(arg0, arg1)
produce(KafkaEx.Protocol.Produce.Request.t, Keyword.t) :: nil | :ok | {:ok, integer} | {:error, :closed} | {:error, :inet.posix} | {:error, any} | iodata | :leader_not_available