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

Quick Start

From a running stack to a successful pipeline execution in about 15 minutes, using the sample data that ships with the platform.

This guide uses object mode (the recommended backend) - the stack runs with RustFS object storage, so the sample data is uploaded through the API. If you haven't started the stack yet, follow Installation first. In shared mode the sample data is already bind-mounted and outputs also land on disk under data/outputs/.

1. Start the stack

TerminalCode
cd infra/compose ./compile_and_run.sh object

Wait until the API is healthy:

TerminalCode
curl http://localhost:8080/actuator/health # {"status":"UP"}

2. Get an access token

Every /api endpoint requires a Bearer JWT from the configured OIDC identity provider. The easiest ways to get one:

  • Log in through the product UI (its base URL is configured as APP_UI_BASE_URL, default http://localhost:5173), or
  • Request one from your identity provider for the API audience (OIDC_AUDIENCE). Machine-to-machine calls use the OAuth 2.0 client credentials grant:
TerminalCode
# $TOKEN_ENDPOINT comes from your identity provider's OIDC discovery document curl -X POST "$TOKEN_ENDPOINT" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=client_credentials" \ -d "client_id=$CLIENT_ID" \ -d "client_secret=$CLIENT_SECRET" \ -d "scope=$OIDC_AUDIENCE"

By default the platform runs in invite-only mode and rejects unknown users. To bootstrap your user, set SECURITY_SUPER_ADMIN_EMAIL to your email before starting the app, or set SECURITY_USER_PROVISIONING_MODE=AUTO_PROVISION for frictionless local use. Verify your access with GET /api/me - it lists your roles and permissions.

3. Upload the sample data and run the pipeline

From the repository root, upload the bundled sample CSV, then create and run the sample pipeline in a single call - the spec reads sample-data/csv/orders.csv, enriches it, and writes Parquet:

TerminalCode
TOKEN="eyJ..." # your access token # upload the sample data (object mode keeps inputs in object storage) curl -H "Authorization: Bearer $TOKEN" \ -F "file=@data/inputs/sample-data/csv/orders.csv" \ -F "folderPath=sample-data/csv" \ "http://localhost:8080/api/storage/input/files/upload" # create the pipeline and trigger a run in one call curl -H "Authorization: Bearer $TOKEN" \ -F "specYaml=@sample-specs/valid_examples/01_00_batch_single_source.yaml" \ "http://localhost:8080/api/pipelines/save-and-exec"

Response - 202 Accepted:

Code
{ "runId": "3f2c...", "submissionId": "driver-20260101120000-0001", "pipelineId": "9a1b...", "mode": "cluster" }

4. Watch the run

Runs are asynchronous. The app reconciles status with Spark every 30 seconds; while a run is RUNNING you can poll the runs list and follow the driver logs:

TerminalCode
# run status (from the runs list - filter or just read the latest) curl -H "Authorization: Bearer $TOKEN" \ "http://localhost:8080/api/pipelines/$PIPELINE_ID/runs" # per-stage status and row counts curl -H "Authorization: Bearer $TOKEN" \ "http://localhost:8080/api/pipelines/$PIPELINE_ID/runs/$RUN_ID/stages" # live driver logs curl -H "Authorization: Bearer $TOKEN" \ "http://localhost:8080/api/pipelines/$PIPELINE_ID/runs/$RUN_ID/logs?stream=stdout&tail=200"

Read status from the runs list - the single-run endpoint is not implemented yet. While a run is RUNNING, poll every 3-5 seconds with a tail; when it reaches a terminal status (SUCCESS, FAILED, or CANCELLED), stop polling and fetch the final logs once. A running job can be stopped with POST .../runs/$RUN_ID/kill.

You can also watch the job live in the Spark Master UI at http://localhost:8085, or the container with docker logs -f pipeline_app.

The run finishes with status SUCCESS (or FAILED - the logs endpoint tells you why).

5. Check the output

The sample spec writes Parquet under gold/. In object mode outputs live in RustFS - browse them through the API or the RustFS console at http://localhost:9001:

TerminalCode
# list output files through the API curl -H "Authorization: Bearer $TOKEN" \ "http://localhost:8080/api/storage/outputs/entities"

In shared mode the files are also on disk at data/outputs/gold/01_00_orders_parquet_example_cluster/.

To download a file: GET /api/storage/outputs/download?path=..., or generate a short-lived download link with POST /api/storage/outputs/download-link.

What just happened

  • The app validated the spec, created the pipeline and a PENDING run, and submitted the job to the Spark master over its REST API
  • The Spark driver ran the engine: read the CSV, cast columns, derived total_price, and wrote Parquet
  • The driver reported run + stage status straight to PostgreSQL; the app reconciled it to SUCCESS
  • Per-stage status and row counts come from GET /api/pipelines/{pipelineId}/runs/{runId}/stages; per-stage lineage data is at GET /api/pipelines/{pipelineId}/runs/{runId}/stages/{stageName}/lineage/data

Next steps

  • First Pipeline - write your own spec end-to-end
  • Core Concepts - the full spec model
  • Pipeline Spec Overview - every source, transform, and destination type
  • API Reference - the complete REST surface
Suggest edit
Last modified on November 26, 2026
InstallationFirst Pipeline
On this page
  • 1. Start the stack
  • 2. Get an access token
  • 3. Upload the sample data and run the pipeline
  • 4. Watch the run
  • 5. Check the output
  • What just happened
  • Next steps
JSON