Expand description
atomr-cluster-tools.
src/contrib/cluster/.
Structs§
- Cluster
Client - Cluster
Client Settings - Settings for a
ClusterClient. - Cluster
PubSub - Mediator that augments a local
DistributedPubSubwith a cross-node topic table + transport. Clusters publish viaClusterPubSub::publish_remotewhich fans out to all nodes that have advertised the topic; receivers route the payload to local subscribers using the codec registry. - Cluster
Receptionist - Cluster
Singleton Manager - Decides which node hosts the singleton based on oldest up-member — a hook is provided so tests can simulate handover without wiring the full cluster.
- Cluster
Singleton Proxy - Proxy that routes messages to the current singleton, buffering during handover.
- Distributed
PubSub
Enums§
- Cluster
Client Error - Mediator
Pdu - Wire shape of a cross-node mediator exchange.
- Singleton
State - Singleton lifecycle state.
Traits§
- Mediator
Transport - Pluggable transport for the cross-node mediator. Sends an outbound
MediatorPduto a peer node, identified by an opaque string node id (typicallyAddress::to_string()). The transport is responsible for the wire round-trip; on the receiver side, the inbound PDU is fed back into the local mediator viaClusterPubSub::apply_pdu.