ExESDBGater.Messages.SystemMessages (ex_esdb_gater v0.8.0)
Message definitions and helpers for the :ex_esdb_system PubSub instance.
Handles general system-level configuration and startup/shutdown events.
Common Topics
- "config" - System configuration changes
- "lifecycle" - System startup/shutdown events
- "features" - Feature toggle changes
Node Field Pattern
All message structs include a :node
field that tracks the originating node
using Node.self()
as the default value.
Summary
Functions
Broadcast a feature toggle change
Broadcast a system configuration change
Broadcast a system lifecycle event
Create a FeatureToggle payload with current timestamp
Create a SystemConfig payload with current timestamp
Create a SystemLifecycle payload with current timestamp
Validate a FeatureToggle message
Validate and extract a secure message
Validate a SystemConfig message
Validate a SystemLifecycle message
Functions
Broadcast a feature toggle change
Broadcast a system configuration change
Broadcast a system lifecycle event
Create a FeatureToggle payload with current timestamp
Create a SystemConfig payload with current timestamp
Create a SystemLifecycle payload with current timestamp
Validate a FeatureToggle message
Validate and extract a secure message
Validate a SystemConfig message
Validate a SystemLifecycle message