Skip to content

WebSockets

Use this section for real-time integration flows: connection lifecycle, authentication, subscriptions, sequencing, snapshots, recovery, and event semantics.

Interface contract

The AsyncAPI specification is the authoritative machine-readable channel and message reference. Keep it versioned with the service change that alters the contract. Do not duplicate payload definitions in Markdown.

Integration expectations

Document the recovery path from disconnects and out-of-order messages, including the source of truth for reconciliation. Specify sequence scope and monotonicity explicitly; do not imply ordering from arrival time alone.