View Source EventStreamex (EventStreamex v1.3.0)
The event streaming system supervisor.
This supervisor is the one started by EventStreamex.Orchestrator
when
the current node is the master node.
This supervisor is responsible for starting the whole system.
Summary
Functions
Returns a specification to start this module under a supervisor.
Restarts the EventStreamex.Operators.Scheduler
.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec restart_scheduler() :: {:error, any()} | {:ok, :undefined | pid()} | {:ok, :undefined | pid(), any()}
Restarts the EventStreamex.Operators.Scheduler
.
Should only be used when the Scheduler crashes because of an operator that fails after several restarts.
Because this failure is critical, the sheduler will fail and must be restarted manually using this function when the error is solved with the operator.
When the scheduler is restarted, the failed operator will be restarted and then, the rest of the events queue will be executed.