faktory_worker v1.0.0 FaktoryWorker View Source
The FaktoryWorker
module provides everything required to setup workers for sending and fetching jobs.
It is expected that FaktoryWorker will be configured and started as part of a supervision tree. Multiple instances of
FaktoryWorker can be configured by providing the :name
option which must be unique.
This module can either be configured using all default options.
children = [
FaktoryWorker
]
Or by using the two element tuple format accepting a list of options as the second element.
children = [
{FaktoryWorker, [name: :faktory_test, ...]}
]
For a full list of configuration options see the Configuration documentation.
Link to this section Summary
Functions
Attaches the default telemetry handler provided by FaktoryWorker.
Link to this section Functions
attach_default_telemetry_handler()
View Sourceattach_default_telemetry_handler() :: :ok | {:error, :already_exists}
Attaches the default telemetry handler provided by FaktoryWorker.
This function attaches the default telemetry handler provided by FaktoryWorker that outputs log messages for each of the events emitted by FaktoryWorker.
For a full list of events see the Logging documentation.