AsyncAPI Protocol Spec
此内容尚不支持你的语言。
The DAIMON kernel broadcasts all outbound events using the event-driven protocol described in the AsyncAPI specification. This allows SIEM logs, operators, and audit collectors to ingest state changes.
Download & Integration
Section titled “Download & Integration”The raw specification is hosted at: 👉 asyncapi.yaml
Stream Definitions
Section titled “Stream Definitions”audit/events: Append-only transaction feed. Broadcasts signed state mutations conforming to the Audit Event Schema.lifecycle/module: Real-time notifications of loaded, unloaded, failed, or rolled-back WASM business modules.health: Periodic heartbeat telemetry showing head sequence ID and memory metrics.
Example Ingestion Client (gRPC stream wrapper)
Section titled “Example Ingestion Client (gRPC stream wrapper)”// Subscribing to the audit/events channel defined in asyncapi.yamllet mut client = DaimonAuditClient::connect("http://localhost:50051").await?;let mut stream = client.subscribe_audit(AuditSubscriptionRequest::default()).await?.into_inner();
while let Some(event) = stream.message().await? { println!("Ingested event {} (Seq: {})", event.event_id, event.sequence);}