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. - Cluster
Agent - Entrypoint for starting membership, the local agent, DCP, and node sessions together.
- Cluster
Agent Config - Combined configuration for one cluster-aware Datum agent.
- Cluster
Agent Handle - Running cluster-aware agent.
- Cluster
JobMetadata - Cluster ownership metadata persisted in the local registry entry for jobs started by the placement coordinator.
- Cluster
Placement History - One placement-history entry for a cluster-submitted job.
- 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.
- Node
Session Config - Configuration for DCP node sessions maintained by a cluster-aware agent.
- Node
Session Manager Handle - Placement
Spec - Placement constraints attached to a cluster-submitted job.
Enums§
- Agent
Error - Errors returned by the embeddable agent and job registry.
- Cluster
Agent Error - Errors returned by the cluster-aware agent entrypoint.
- 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.
- Node
Session Transport - Transport used for node-to-node DCP sessions.
- Placement
Strategy - Placement strategy selected for a cluster-submitted job.
Constants§
- AGENT_
ROLE - Role used by cluster-aware agents to discover peers.
- VERSION
- The
datum-agentcrate version.
Type Aliases§
- Agent
Result - Result type used by
datum-agent. - Cluster
Agent Result - Result type for cluster-aware agent startup and shutdown.
- JobGraph
Factory - Factory used by
JobSpecto build a fresh job blueprint for one generation.