ExESDBGater.Messages.HealthMessages (ex_esdb_gater v0.8.0)
Message definitions and helpers for the :ex_esdb_health PubSub instance.
Handles health monitoring, status checks, and health-related events. Uses consistent topic patterns via ExESDBGater.Topics.
Topic Patterns
- Store-specific: "{store_id}:health" (e.g. "vehicle_store:health")
- Cluster-wide: "cluster:health"
Summary
Functions
Broadcast a cluster health update
Broadcast cluster-wide health update using pattern matching
Broadcast a component health update
Broadcast a health check result
Broadcast a node health update
Broadcast store-specific health update using pattern matching
Create a ClusterHealth payload with current timestamp
Get the cluster-wide health topic
Create a ComponentHealth payload with current timestamp
Create a HealthCheck payload with current timestamp
Create a NodeHealth payload with current timestamp
Get the health topic for a specific store
Validate a ClusterHealth message
Validate a ComponentHealth message
Validate a HealthCheck message
Validate a NodeHealth message
Validate and extract a secure message
Functions
Broadcast a cluster health update
Broadcast cluster-wide health update using pattern matching
Broadcast a component health update
Broadcast a health check result
Broadcast a node health update
Broadcast store-specific health update using pattern matching
Create a ClusterHealth payload with current timestamp
Get the cluster-wide health topic
Create a ComponentHealth payload with current timestamp
Create a HealthCheck payload with current timestamp
Create a NodeHealth payload with current timestamp
Get the health topic for a specific store
Validate a ClusterHealth message
Validate a ComponentHealth message
Validate a HealthCheck message
Validate a NodeHealth message
Validate and extract a secure message