Expand description
Embeddable job registry and lifecycle supervisor for Datum streams.
datum-agent is intentionally local and protocol-free in WP-A2. The registry actor owns job
specs, desired state, restart timers, completion polling, and lifecycle events. Job data paths
remain ordinary Datum streams.
Modules§
- dcp
- Datum Control Protocol (DCP) server and client.
Structs§
- Agent
- Minimal embeddable entrypoint for the local agent.
- Agent
Config - Configuration for an embeddable Datum agent.
- Agent
Handle - Handle returned by
Agent::startandAgent::start_with_config. - JobContext
- Context passed to a job blueprint factory for one materialized generation.
- JobControl
- Control handles associated with a running job generation.
- JobEvent
- Lifecycle event emitted by the registry.
- JobId
- Stable identifier assigned by the local registry when a job is submitted.
- JobInstrumentation
Snapshot - Reserved integration point for WP-A1 stream instrumentation.
- JobMat
- Standardized materialized value for daemon-managed jobs.
- JobRegistry
- Ractor-backed local job registry.
- JobRegistry
Handle - Cloneable in-process handle to the registry actor.
- JobSpec
- A named, supervised stream program.
- JobStatus
- Point-in-time registry snapshot for one job.
Enums§
- Agent
Error - Errors returned by the embeddable agent and job registry.
- Desired
JobState - Desired state recorded by the registry.
- JobDrain
Behavior - Drain behavior declared by a job spec.
- JobEvent
Kind - Kind-specific lifecycle event details.
- JobExit
Reason - Why the latest generation exited.
- JobRestart
Policy - Registry-visible restart policy for a job.
- JobState
- Observed lifecycle state of a job.
Constants§
- VERSION
- The
datum-agentcrate version.
Type Aliases§
- Agent
Result - Result type used by
datum-agent. - JobGraph
Factory - Factory used by
JobSpecto build a fresh job blueprint for one generation.