Conduit v0.10.7 Conduit.Adapter behaviour View Source
Defines the behavior for an adapter.
Link to this section Summary
Functions
Defines the use
ing module as implementing the Conduit.Adapter
behavior
Link to this section Types
Link to this type
subscribers()
View Source
subscribers() :: %{optional(atom()) => {module(), Keyword.t()}}
Link to this section Functions
Defines the use
ing module as implementing the Conduit.Adapter
behavior.
Link to this section Callbacks
Link to this callback
publish(arg0, config, opts)
View Source
publish(Conduit.Message.t(), config(), opts()) :: {:ok, Conduit.Message.t()} | {:error, binary() | atom()}
Link to this callback
start_link(broker, topology, subscribers, config)
View Source
start_link(broker(), topology(), subscribers(), config()) :: GenServer.on_start()