ExESDB.LeadershipSystem (ex_esdb v0.1.1)
Supervisor for leadership and event emission components.
This supervisor manages components that are only active when this node is the cluster leader. Uses :rest_for_one because EmitterSystem depends on LeaderSystem.
Components:
- LeaderSystem: Leader election and management
- EmitterSystem: Event emission (depends on leadership)
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.