elsa v0.8.1 Elsa.Producer.Supervisor
Define a supervisor to create and manage producer processes for a given topic, one per topic partition. The supervisor will start a client if one is not already started and passed by name as an argument to the supervisor.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Start a named process for handling subsequent produce_sync requests to write messages to a topic. Producer processes are bound to a specific topic.
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
start_link(init_opts)
Start a named process for handling subsequent produce_sync requests to write messages to a topic. Producer processes are bound to a specific topic.