Elsa.Group.Supervisor (Elsa v1.0.0-rc.3) View Source

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.

Link to this section Types

Specs

init_opts() :: [
  connection: Elsa.connection(),
  topics: [Elsa.topic()],
  group: String.t(),
  config: list()
]

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(init_arg \\ [])

View Source

Specs

start_link(init_opts()) :: GenServer.on_start()