Expand description
Chronon runtime assembly and deployment loops.
Wires store, scheduler, executor, and background loops via ChrononBuilder. Hosts select
a DeploymentShape (embedded, coordinator-only, worker, or remote client) at build time.
§Documentation map
- Configure and build —
ChrononBuilder,DeploymentShape - Run until shutdown —
Chronon::run,Chronon::shutdown - Job and run API —
CoordinatorService - Remote coordinator —
RemoteCoordinatorClient,resolve_remote_base_url
§Configuration
ChrononBuilder::tick_interval_ms overrides CHRONON_TICK_INTERVAL_MS. Partition count
is read from CHRONON_NUM_PARTITIONS only (not configurable on the builder). See the
chronon-scheduler crate for the full environment variable reference.
See also: builder (alias for ChrononBuilder::new).
Structs§
- Chronon
- Assembled Chronon runtime: store, scheduler, executor, and deployment loops.
- Chronon
Builder - Builds a
crate::Chrononruntime with explicit adapter injection. - Coordinator
Service - Object-safe coordinator operations backed by
SchedulerStore. - JobSummary
- Non-sensitive job summary returned by remote
GET /jobs(matches AxumJobResponse). - Remote
Coordinator Client - HTTP-backed coordinator for split deployments (no local tick/worker loops).
Enums§
- Deployment
Shape - Named deployment assembly — not a global mode enum.
Functions§
- builder
- Shorthand for
ChrononBuilder::new. - resolve_
remote_ base_ url - Resolve remote base URL from
CHRONON_REMOTE_BASE_URLwhen set and non-empty.