wasmCloud · AsyncAPI Specification
wasmCloud Lattice Events
Version 1.0.0
The wasmCloud lattice event system publishes CloudEvents-format messages to NATS subjects describing the lifecycle of components, capability providers, links, and hosts within a wasmCloud lattice. All lattice events are published on the wasmbus.evt.{lattice}.> subject hierarchy and conform to the CloudEvents 1.0 specification with a type prefix of com.wasmcloud.lattice. Events are used by the wash dashboard, wadm reconciler, observability tools, and custom integrations to react to changes in lattice state.
View Spec
View on GitHub
Cloud NativeCNCFDistributed SystemsIncubatingRuntimeWasmWebAssemblyWITAsyncAPIWebhooksEvents
Channels
wasmbus.evt.{lattice}.>
Receive Lattice Event
Wildcard subject for all lattice events. Subscribe to this subject to receive all CloudEvent messages emitted by wasmCloud hosts in the lattice. Events are JSON-encoded CloudEvents with a type prefix of com.wasmcloud.lattice.
Messages
ComponentScaled
Component Scaled Event
Emitted when a WebAssembly component's instance count is scaled up or down on a host.
ComponentStartFailed
Component Start Failed Event
Emitted when a wasmCloud host fails to start a WebAssembly component.
ProviderStarted
Provider Started Event
Emitted when a capability provider has successfully started on a host.
ProviderStopped
Provider Stopped Event
Emitted when a capability provider has stopped on a host.
ProviderStartFailed
Provider Start Failed Event
Emitted when a wasmCloud host fails to start a capability provider.
LinkdefSet
Link Definition Set Event
Emitted when a link definition between a component and a provider or between two components is established in the lattice.
LinkdefDeleted
Link Definition Deleted Event
Emitted when a link definition is removed from the lattice.
ConfigSet
Config Set Event
Emitted when a named configuration entry is created or updated in the lattice configuration store.
ConfigDeleted
Config Deleted Event
Emitted when a named configuration entry is deleted from the lattice configuration store.
HostHeartbeat
Host Heartbeat Event
Emitted periodically by each wasmCloud host containing a complete inventory of all components and providers running on that host.
HostStarted
Host Started Event
Emitted when a new wasmCloud host joins the lattice.
HostStopped
Host Stopped Event
Emitted when a wasmCloud host leaves the lattice gracefully.
HealthCheckPassed
Health Check Passed Event
Emitted when a capability provider passes its periodic health check.
HealthCheckFailed
Health Check Failed Event
Emitted when a capability provider fails its periodic health check.
Servers
nats
nats
nats://localhost:4222
NATS server through which the wasmCloud lattice publishes event messages. Consumers subscribe using NATS wildcard subjects to receive all events or filter to specific event types.