LavinMQ::Clustering::Controller
Constants
Log = LavinMQ::Log.for("clustering.controller")
Constructors
new(config : Config, etcd : Etcd, coordinator : EtcdCoordinator, metrics_server : HTTP::MetricsServer | Nil = nil)
The metrics server, if any, is pointed at each follower client, so it keeps serving on the same socket across leader changes
new(config : Config)
SourceInstance methods
id
Sourcerun
Sourcestop
Sourcewait_to_be_insync(lease)
Source