Documentation / Pipelines

Pipelines: the three kinds

Internal, Ingress and Egress pipelines, and what each needs.

The Pipelines module (top bar, Pipelines) automates data movement. It needs a licence that includes Pipelines.

KindWhat it doesRuns whereNeeds
InternalStarts an MDM run or a profiling run when new data arrives in the raw vault.Inside the suiteThe MDM or Profiler licence as well
IngressBrings data into the raw vault: a FHIR® REST endpoint, a JSON endpoint, NDJSON files from a folder, or a bulk extract from another FHIR server.An Apache® NiFi™ flowAn Apache NiFi server (Pipelines > Settings)
EgressSends resources out when they change: to a REST API, to a folder or in bulk to another FHIR server (batch Bundles, several threads, Basic authentication).An Apache NiFi flowAn Apache NiFi server
Ingress: bulk loadLoads large amounts of FHIR NDJSON or JSON files from the storage of a Spark cluster into the raw vault, the new files on every run.An Apache Spark jobAn Apache Spark cluster with Spark Connect, and the Spark Connect client for Python on the suite server
Egress: data lakeExports the vault to tables in a data lake (Delta Lake, Apache Iceberg or Parquet) and keeps them up to date on a schedule.An Apache Spark jobAn Apache Spark cluster with Spark Connect, and the Spark Connect client for Python on the suite server

The permissions are pipelines:view (see everything) and pipelines:manage (create, change, deploy, start, stop, delete). A user sees and works on the data sources they have access to.

Note

NiFi flows are uploaded to the NiFi server by the suite and configured with the database settings of the chosen data source. The suite does not run the flows itself: NiFi does. Spark jobs are not uploaded: on every run the suite sends the work to the cluster through Spark Connect.