WalEx.Replication.Supervisor (WalEx v4.8.0)

Copy Markdown View Source

Supervises the per-app replication pipeline (WalEx.Replication.Publisher and WalEx.Replication.Server).

Uses a :one_for_all strategy because the Publisher's in-memory Relation/Type tables must stay in sync with the Server's LSN stream — see the inline comments in init/1 for the failure-mode analysis.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the replication supervisor registered under the app name.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

Starts the replication supervisor registered under the app name.