Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
Execution
Deployment
    DeploymentEnvironment Variables
Troubleshooting
Examples
Deployment

Deployment

Data Pipeline runs as container images plus configuration. This page covers the pieces you deploy, what the platform needs from your environment, how it is configured, and how to verify and run it. For a local run with Docker Compose, see Installation.

What you deploy

ComponentRole
Control plane (pipeline-app)REST API, spec validation, scheduling, and run submission
Data plane (Apache Spark)Executes each pipeline as a Spark job through the Spark driver
PostgreSQL 15All platform state; the schema is created and migrated by Liquibase at startup
Object storage (S3-compatible)All product-managed files
Identity provider (OIDC)Issues the JWTs the API validates

The control plane owns the API, validation, and scheduling. Each run is submitted to Spark, whose driver executes the pipeline and writes run status, stages, and offsets straight to PostgreSQL. Product files live in object storage: pipeline definitions, inputs, outputs, stage samples, streaming checkpoints, stateful step state, and archived driver logs.

What the platform needs

  • PostgreSQL 15 reachable from both the app and the Spark driver.
  • S3-compatible object storage with a bucket and credentials, reachable from both sides. This is the required backend for a real deployment (APP_STORAGE_BACKEND=object).
  • A Spark cluster reachable from the app over its submit API, with the engine and connector jars available to Spark: bake them into the image or mount them into the cluster.
  • An OIDC identity provider (issuer URL and audience).
  • A license (DATAFLOW_LICENSE_MODE, online or offline).
  • Networking: the app reaches the Spark submit API; the driver reaches PostgreSQL and object storage; browsers reach the app and its origin is allowed in CORS_ALLOWED_ORIGIN_PATTERNS.

Configure

Deployment is configured entirely through environment variables. The groups to set:

GroupVariables
DatabasePIPELINE_DB_URL / _USER / _PASS
AuthOIDC_ISSUER_URI, OIDC_AUDIENCE, SECURITY_SUPER_ADMIN_EMAIL
StorageAPP_STORAGE_BACKEND=object and the APP_OBJECT_STORAGE_* group
SparkSPARK_REST_URL, SPARK_MASTER_URL
LicenseDATAFLOW_LICENSE_MODE, DATAFLOW_LICENSE_KEY / DATAFLOW_LICENSE_FILE, DATAFLOW_INSTALLATION_ID

Serve the UI and API over HTTPS, and make sure the browser origin is allowed in CORS_ALLOWED_ORIGIN_PATTERNS. See Environment Variables for the full reference.

Deploy

  1. Publish images - build and publish the app image, and a Spark image that includes the engine and connector jars (or provide the jars to your Spark cluster).
  2. Bring up PostgreSQL - deploy PostgreSQL 15 or point at a managed instance; Liquibase migrates the schema on first boot.
  3. Bring up object storage - deploy an S3-compatible store or point at a managed bucket.
  4. Bring up Spark - deploy a Spark master and workers, or a single container for resource-constrained environments.
  5. Deploy the app - run it with the configuration above and the cluster Spring profile, so every run is submitted to the Spark master instead of a local Spark.
  6. Verify - check health and the Spark master, then run a pipeline end to end.

Verify

  • The app is UP at /actuator/health. Allow a ~90 second startup grace period.
  • The Spark Master UI lists registered workers.
  • A pipeline run completes end to end.

Operate

  • Scheduling - the scheduler runs inside the app; one instance triggers scheduled runs. A schedule that comes due while the platform is down fires once when it returns, then advances to its next time.
  • Run tracking - the Spark driver writes run status, stages, and offsets to PostgreSQL; the app reconciles status by polling Spark and can kill a run.
  • Restarts - streaming checkpoints and stateful step state live in object storage, so restarted jobs resume. Set APP_DRIVER_LOG_ARCHIVE_ENABLED=true to archive driver logs there too, so they survive restarts.
  • Access - GET /actuator/health includes the license status. Public endpoints are /actuator/**, /v3/api-docs/**, /swagger-ui/**, and tokenized file downloads; everything else needs a valid JWT.

Related pages

  • Environment Variables - the full configuration reference
  • Architecture Overview - control plane, data plane, and persistence
  • Execution Lifecycle - how a run progresses
Suggest edit
Last modified on November 26, 2026
SchedulesEnvironment Variables
On this page
  • What you deploy
  • What the platform needs
  • Configure
  • Deploy
  • Verify
  • Operate
  • Related pages