Expand description
The composition root — the analogue of arcly-http’s App.
Engine replaces stream-center’s ApplicationRegistry::from_config.
It is built by a plain-Rust EngineBuilder (no TOML, no
StreamCenterConfig) and implements all three bus contracts
(PublishRegistry, PlaybackRegistry, EventBus), so it drops
straight into protocol code written against those traits.
Structs§
- AppSpec
- Plain-Rust application descriptor — a named namespace of streams with its own
fan-out capacity and GOP-replay policy. Build one fluently and register it via
EngineBuilder::application. - Engine
- The engine. Many instances may coexist in one process (ideal for tests).
Cheap to
Arc-share. - Engine
Builder - Fluent builder for an
Engine. Takes plain owned specs instead of a deserialized config schema, so consumers never adoptstream-center’s TOML. - Engine
Config - Engine-wide configuration — replaces
sc-config::ServerConfigknobs the engine actually needs.