elsa v0.5.0 Elsa.Group.Supervisor
Orchestrates the creation of dynamic supervisor and worker processes for per-topic consumer groups, manager processes for coordinating topic/partition assignment, and a registry for differentiating named processes between consumer groups.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Provide a name-spaced process registry identifier for differentiating processes between consumer groups.
Ensures descendant workers have unsubscribed and unlinked from supervision before gracefully terminating the supervisor process and all remaining children.
Link to this section Functions
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
registry(name)
Provide a name-spaced process registry identifier for differentiating processes between consumer groups.
start_link(init_arg \\ [])
stop(name)
stop(String.t()) :: :ok
stop(String.t()) :: :ok
Ensures descendant workers have unsubscribed and unlinked from supervision before gracefully terminating the supervisor process and all remaining children.