Skip to content

Transports and Durability

A transport determines how events cross a data edge. Select it after dispatch and before placement: an edge that cannot cross the intended worker boundary invalidates the topology.

Transport Locality Durability/replay Operator concerns
Worker channel One worker process In-memory; no external replay Co-locate producer/consumer, bounded queue, restart loss
File-store A local or deliberately shared path Files can provide a replayable landing zone Permissions, retention, atomic visibility, shared-mount truth
Object store (for example S3) Workers with network and credential access Durable objects with provider-specific read/list semantics Credentials, prefixes, listing consistency, retention, cost
External broker Workers with broker access Broker-specific acknowledgement and replay Consumer groups, partition ownership, ordering, retention, duplicates
Provider connector job Defined by that source/sink connector Provider-specific Setup, rate limits, idempotency, receipts; not a generic edge transport

The selected release’s planner/compiler determines which edge profiles it can materialize directly. A native input or output connector is not automatically an interchangeable workflow edge. Confirm the current editor palette, plan, and Pack readiness rather than inferring support from the DSL catalog.

Worker channels are low-latency in-process queues. Both jobs must be placed on the same worker. They do not span worker processes, provide broker-style consumer groups, or survive as a durable replay log. Use them for a bounded same-worker topology whose recovery can restart from the original source.

File-store creates a visible stage boundary and can support replay/backfill. If the path is local, keep writer, notifier/poller, and reader on the same worker group. Split placement only when both sides use the same genuine shared storage and permissions. A healthy reader on another host does not prove it can see the writer’s local path.

Object storage can cross workers when every assigned worker has network, credential, bucket, and prefix access. Define object naming, completion/atomic visibility, retention, cursor/checkpoint, duplicate, and cleanup rules.

For a broker, document acknowledgement timing, partition/key mapping, consumer group ownership, retry/dead-letter behavior, retention, ordering scope, scale-in drain, and offset recovery. Do not replace this contract with a generic “durable” label.

  • Can the transport cross the selected worker boundary?
  • What is acknowledged, and when?
  • Where can an unacknowledged event be recovered?
  • What can be duplicated, reordered, or lost during retry or restart?
  • Who owns retention, cleanup, and capacity?
  • Which credentials and network paths must every eligible worker have?
  • What runtime metric and record count proves the edge?

Keep two acknowledgements separate. Durable acceptance means the selected storage has committed the payload and enough state to discover and recover its unfinished work within the declared failure domain. Only then can a supported source acknowledge that unit or advance its checkpoint. Consumer completion means every required destination effect for that consumer and processing pass succeeded, or another durable owner accepted responsibility for the remainder. A stored file, reader fingerprint, wake notification, or in-memory handoff does not prove consumer completion.

Before applying a plan, record the source acknowledgement unit, edge identity, storage location, required consumers, retention window, and recovery-state owner. A local disk boundary does not cover loss of that disk or host. A shared or remote boundary must preserve both payload and progress across the promised failure, and every assigned worker must have access. Keep required fan-out branches explicit; one successful branch cannot complete another’s obligation.

Use the selected release’s deployment status, generated job logs, and supported runtime evidence surfaces to correlate source position, accepted object, consumer, processing pass, attempts, and destination receipts. Identify pending, retrying, completed, and blocked work where those states are exposed. Missing evidence means unknown progress, not an empty backlog. Do not inspect or edit a running worker’s database directly to fill a status gap.

For retained blocked work, capture the reason before changing anything: storage capacity/access, decoding, origin verification, or destination failure. Correct the cause through its owner and use the supported recovery path. An exhausted retry limit must not be treated as success or permission to delete the payload. Protect objects needed by unfinished delivery or active replay; completion and payload retention have different lifetimes. Capacity pressure must stop new durable acceptance before the source is acknowledged.

Ordinary recovery continues an unfinished consumer/pass. Explicit replay starts an additional pass over selected retained data, including completed objects. Do not reset live progress to start replay. See the recovery and replay example for the evidence to collect and the duplicate exposure to review.

Before requesting replay, inspect the installed tool/UI schema and confirm a supported operation for this exact edge. Preview the retained selection, processing version, destination, pass identity, duplicate policy, and retention needs; then execute only the authorized unchanged request. If the release exposes no supported selection or progress surface, record the gap and stop. A legacy replay generation or reader cursor reset is not proof of the durable completion contract.

Keep original source/object identity distinct from processing pass and execution attempt. Recovery and replay must preserve validated origin lineage; a new Job or Event instance does not by itself establish a fresh external acceptance. Customer fields such as internal or already_metered, matching bytes, and a content hash alone are not authenticated origin evidence.

At a storage or worker trust boundary, verify the supported provenance contract binds content, origin, measurement version, and permitted scope. Unknown, altered, or unsupported internal provenance must remain visibly unresolved; do not manufacture a receipt, silently grant an exemption, or recast it as fresh ingest. Historical provenance also does not authorize a new replay or execution. Keep credentials and payloads out of routine evidence. Local origin-accounting proof does not establish commercial attribution, billing publication, or a customer charge; those require their own release and policy evidence.

See Delivery Semantics for the full boundary, then choose Placement and Scaling.