Conduit v0.7.0 Conduit.Adapter behaviour

Defines the behavior for an adapter.

Summary

Types

broker()
broker :: module
subscribers()
subscribers :: %{optional(atom) => {module, Keyword.t}}
topology()
topology :: [{atom, binary, Keyword.t}]

Callbacks

publish(arg0, arg1)
publish(Conduit.Message.t, Keyword.t) ::
  {:ok, Conduit.Message.t} |
  {:error, binary}
start_link(broker, topology, subscribers, arg3)