Skip to content

Ingestion is a platform capability with a separate runtime

Accepted and built (definitions, versions, sets, runtime API, retention, operator pages). The cutover tooling for existing deployments and a Java platform mirror were not built when this was written.

2026-10-24.

Systems need to bring data in from wherever it lives: an HTTP push, SFTP, S3, SQS, RabbitMQ, a polled table or API. Each record should become a dispatch job or an event. This had existed as an ingest control plane inside one organisation’s repository, with its own tables, API and runtime. The owner direction was that ingestion is a platform capability for building event-driven business services, not a feature of one organisation’s repository.

The work splits into two different things. One is control: definitions, versions, who may change what, audit and state. The other is data movement: connecting to sources, parsing, splitting and creating jobs, which needs connectors, extension points and its own scaling.

Ingestion is split along that line.

The platform owns control. Definitions, versions, sets of definition files, leases, small state, failure and metric records, the operator API, permissions, audit and operator pages. An ingestion is (application, client, code) plus a source, a split and a target. The application is required and must be of type INTEGRATION; the client is required, so there is no client-less ingestion. Secrets are names, never values. Changes go through the use-case envelope into the normal audit log.

A runtime owns data movement. It lives outside the platform process, in its own repository and release (the ingestor runtime), and talks to the platform only through a versioned runtime API. It is optional: an installation without it simply has no ingestions running. The platform serves the current and previous runtime contract so upgrades can roll.

Supporting rules:

  • Feature flag. FC_INGESTION_ENABLED (default false; the development tool turns it on) mounts the routes and navigation. Tables always exist.
  • Extensible kinds. Source kinds beyond the built-in ones are supplied by runtime extensions; the platform stores any runtime-reported kind and leases it only to a runtime that carries it. A kind can declare a required permission, enforced even while no runtime reports it.
  • Single holder. Polled sources run on one runtime at a time through database-clock leases; jobs are created in the transaction that checks the lease.
  • Retention. High-volume tables are pruned hourly by the server-written time with a budget that converges, never by a time the runtime sent.
  • Safety rulings. The runtime needs an anchor-tier service account; authoring dangerous kinds is limited to anchor-tier route authors; saves are drafts unless promoted and are de-duplicated by definition digest; bound secrets are fetched as security telemetry, not as audited config reveals.

Good:

  • A clean boundary: the platform can be deployed, audited and upgraded without any connector code, and the runtime can be scaled and extended on its own.
  • The same application, permission and audit model as the rest of the platform.
  • Businesses keep their own extensions outside the runtime and consume released images.

Bad:

  • Two moving parts for a working ingestion; operators must run and monitor the runtime as well as the platform.
  • The runtime contract is a compatibility surface with its own versioning.
  • Runtime-supplied data (state, failures, metrics) is untrusted input and needs clamping and retention care.
Alternative Why not
Embed the engine in the platform process Drags connectors, their dependencies and their scaling needs into the control plane.
Keep ingestion in each adopter’s own repository Every adopter rebuilds the same control plane and audit.
Client-less ingestions Makes the wrong thing easy; a home client is the explicit answer for shared data.
Store secret values in definitions Definitions are exported, versioned and read widely; names only.