ExESDBGater.ClusterMonitor (ex_esdb_gater v0.1.19)

Monitors cluster node connections and logs when ExESDBGater connects to or disconnects from cluster nodes.

This module subscribes to libcluster node events and provides detailed logging of cluster formation. It uses RPC calls to reliably identify ExESDB nodes by checking if the :ex_esdb application is running, rather than relying on fragile node name pattern matching.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the ClusterMonitor GenServer.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

Starts the ClusterMonitor GenServer.