Kestra vs. Databricks Workflows : Job orchestration inside the Databricks platform vs. YAML flows that run Databricks jobs alongside the rest of your stack.

Databricks Workflows, now called Lakeflow Jobs, orchestrates notebooks, SQL, pipelines and other tasks on Databricks compute. Kestra is an open-source orchestration platform that runs Databricks jobs as tasks in YAML flows, next to the systems that feed and consume them.

Databricks Workflows or Kestra?

Databricks Workflows is the better fit if

  • Your pipelines live inside Databricks as notebooks, Lakeflow pipelines, SQL and dbt on Databricks compute.
  • You want orchestration in the same workspace, with triggers on Unity Catalog table updates and file arrivals.
  • You want serverless compute for jobs and no orchestrator of your own to run.

Choose Kestra if

  • Your pipelines reach outside Databricks, to SaaS APIs, other warehouses, infrastructure tasks or notifications.
  • You run several Databricks workspaces, or Databricks next to Snowflake, BigQuery or on-premises databases, and want every run in one place.
  • You want steps that need no Spark, such as API calls and file transfers, to run on your own workers.

How do Databricks Workflows and Kestra compare, feature by feature?

Workflow definition Jobs built in the UI, as YAML in Declarative Automation Bundles, or as JSON through the Jobs API YAML flows, validated against plugin schemas on save
Task types Notebook, Python script, wheel, JAR, SQL, dbt, pipeline, Spark Submit, Run Job, If/else, For each and more Python, SQL, dbt, shell and more, plus 2,900+ plugins, Databricks included
Compute Databricks serverless, jobs compute, all-purpose clusters or SQL warehouses Kestra workers and containers, or Kubernetes and cloud batch services through task runners
Triggers Scheduled, file arrival, table update, model update, job completion and continuous Schedules with backfills, webhooks, flow triggers, polling and realtime triggers
Recovery Repair runs re-run failed, canceled or skipped tasks and their dependents Restart re-runs failed tasks in the same execution; replay starts a new one from any task
Limits 1,000 tasks per job, 2,000 concurrent task runs per workspace Workers scale horizontally as the load grows
Where it runs Inside a Databricks workspace on AWS, Azure or Google Cloud Self-hosted on any cloud or on-premises, or on Kestra Cloud
Pricing Compute that tasks use, measured in DBUs and billed per second Open source is free to run; Kestra Cloud bills on usage
License Proprietary, part of the Databricks platform Apache 2.0

Which data teams run large pipelines on Kestra?

Customer intelligence

120+ engineers at Acxiom build their own pipelines, with Kestra orchestrating Databricks jobs for each client tenant.

Kestra was the only tool that combined true multi-tenant isolation, metadata-driven orchestration, and easy integration with our existing AWS and Databricks environments. It provided the foundation we needed to scale confidently.

Director of Engineering

Read the story

Technology

200 ML engineers run large-scale ETL on Kestra, across App Store, Apple Music and device data.

I want to highlight their robustness, which is crucial at our scale. Few companies operate at this level, especially in AI/ML.

Senior Engineering Manager, Apple ML Team

Read the story

How are Databricks Workflows and Kestra built?

Lakeflow Jobs lives inside the Databricks workspace. Kestra sits outside any one platform and treats a Databricks job as one task among others.

  • Lakeflow Jobs: tasks on Databricks compute

    A job is a set of tasks with dependencies, stored in the workspace and defined in the UI, in bundle YAML or through the Jobs API. Each task runs on Databricks compute, and the job settings hold its triggers, retries and notifications.

    • Serverless compute is the default for tasks that support it
    • If/else and For each tasks add branching and loops
    • Run Job tasks call other jobs
    • Email and system notifications fire when a run fails
  • Kestra: one orchestrator across platforms

    A flow is a YAML file of tasks. Databricks tasks submit runs, create jobs and query SQL warehouses, while other tasks in the same flow call APIs, run scripts or move files.

    • Credentials for each workspace live in namespace secrets
    • Outputs from one task feed the next, across platforms
    • Failures anywhere in the flow go to one errors block
    • Script tasks run in containers with per-task dependencies

What does the same lakehouse pipeline look like in each?

The same pipeline in both: a notebook that ingests orders with retries, a SQL step that builds a daily table, a daily schedule and an alert when a task fails.

Get started with Kestra
Lakeflow job in a bundle orders_daily.job.yml
1resources:2  jobs:3    orders_daily:4      name: orders_daily5      schedule:6        quartz_cron_expression: "0 0 6 * * ?"7        timezone_id: UTC8      webhook_notifications:9        on_failure:10          - id: 0481e838-0a59-4eff-9541-a4ca6f14957411      tasks:12        - task_key: ingest_orders13          notebook_task:14            notebook_path: ./src/ingest_orders.ipynb15          max_retries: 216          min_retry_interval_millis: 30000017        - task_key: build_daily_orders18          depends_on:19            - task_key: ingest_orders20          sql_task:21            file:22              path: /Workspace/Shared/orders/daily_orders.sql23              source: WORKSPACE24            warehouse_id: 1a111111a1111aa1
/ Flows / orders_daily
1id: orders_daily2namespace: company.lakehouse34tasks:5  - id: ingest_orders6    type: io.kestra.plugin.databricks.job.SubmitRun7    host: "{{ secret('DATABRICKS_HOST') }}"8    authentication:9      token: "{{ secret('DATABRICKS_TOKEN') }}"10    runTasks:11      - taskKey: ingest_orders12        existingClusterId: "{{ secret('DATABRICKS_CLUSTER_ID') }}"13        notebookTask:14          notebookPath: /Workspace/Shared/orders/ingest_orders15    retry:16      type: constant17      interval: PT5M18      maxAttempts: 31920  - id: build_daily_orders21    type: io.kestra.plugin.databricks.sql.Query22    host: "{{ secret('DATABRICKS_HOST') }}"23    httpPath: "{{ secret('DATABRICKS_SQL_HTTP_PATH') }}"24    accessToken: "{{ secret('DATABRICKS_TOKEN') }}"25    sql: "{{ read('sql/daily_orders.sql') }}"2627errors:28  - id: slack_alert29    type: io.kestra.plugin.slack.notifications.SlackIncomingWebhook30    url: "{{ secret('SLACK_WEBHOOK') }}"31    messageText: "orders_daily failed: {{ execution.id }}"3233triggers:34  - id: daily35    type: io.kestra.plugin.core.trigger.Schedule36    cron: "0 6 * * *"

How hard is it to move from Databricks Workflows to Kestra?

Leaving Databricks Workflows

Notebooks, SQL files and dbt projects stay in Databricks. What moves is the job definition around them, so dependencies, schedules, retries and notifications are rewritten, and job parameters and dynamic value references become Kestra inputs and expressions.

Moving to Kestra

Each notebook or Python task becomes a Databricks SubmitRun task, SQL tasks become Databricks SQL queries, and a job you want to keep whole runs through a Run Job setting. Steps that need no Spark, such as API calls or file transfers, move to Kestra tasks on your own workers.

How do Databricks Workflows and Kestra compare on licensing, pricing and self-hosting?

Databricks Workflows

Lakeflow Jobs is part of the proprietary Databricks platform and runs only in a Databricks workspace. Databricks bills per second for the compute your tasks use, measured in Databricks Units (DBUs), at rates that vary by compute type, plan and cloud.

Kestra

Apache 2.0 and free to self-host, with no limits on flows or executions. Kestra Cloud is billed on usage, and Kestra Enterprise is licensed per instance. Both are on the pricing page.

Three ways to run Kestra

Try it alone, try it managed, or talk to an expert who has done the migration before.

Kestra Core

Open Source

Where most teams start, and where many experiment with a first production. Self-hosted and free, with no limits on flows or executions.

Get started

Kestra Cloud

Early Access

Managed by the people who build Kestra. No platform to run, pay for what you use.

Try Kestra Cloud
Find the edition that fits your team

Questions from Databricks Workflows teams

SOC 2 GDPR

SOC 2 Type 2 and GDPR, independently audited. The report is available on request.

Security overview