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.
| Kind | What it does | Runs where | Needs |
|---|---|---|---|
| Internal | Starts an MDM run or a profiling run when new data arrives in the raw vault. | Inside the suite | The MDM or Profiler licence as well |
| Ingress | Brings 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™ flow | An Apache NiFi server (Pipelines > Settings) |
| Egress | Sends 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 flow | An Apache NiFi server |
| Ingress: bulk load | Loads 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 job | An Apache Spark cluster with Spark Connect, and the Spark Connect client for Python on the suite server |
| Egress: data lake | Exports 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 job | An 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.