OffBroadway.EMQTT.Broker (off_broadway_emqtt v0.2.0)
View SourceThe OffBroadway.EMQTT.Broker
is started as part of the Broadway pipeline
supervision tree and is responsible for managing the connection to the MQTT
broker and cache incoming messages until the producer is ready to consume them.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
@spec check_buffer_threshold( non_neg_integer(), {non_neg_integer(), non_neg_integer()}, atom(), pid() ) :: :ok
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec stop_emqtt(pid()) :: :ok
@spec stream_from_buffer(atom()) :: Enumerable.t()
@spec stream_from_buffer_log(atom()) :: Enumerable.t()