Maestro.Aggregate.Supervisor (Maestro v0.5.0)

View Source

Supervisor for Maestro.Aggregate.Roots across any/all domains.

All aggregate roots, no matter how many different kinds you may have, are managed by a single supervisor/registry (for now). Given that aggregates are independently configurable and extensible, the need for a 1:1 on supervisors per aggregate is a premature optimization. Furthermore, aggregate IDs are HLC timestamps and are thus unique even across aggregates.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for DynamicSupervisor.init/1.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_child(key, mod)

init(args)

Callback implementation for DynamicSupervisor.init/1.

start_link(args)