the pattern · explained without the product

What is metadata-driven orchestration?

Metadata-driven orchestration is a way of running data pipelines where the run plan lives in tables instead of inside the pipelines. What runs, in what order, with which parameters, and what happens on failure are rows in a database. A generic engine reads those rows at run time, and writes what happened back to the same database.

Adding a source is an INSERT and changing the order is an UPDATE; the pipelines themselves aren't redeployed. Microsoft documents the ingestion half of the pattern for Azure Data Factory, and its own BI team runs an orchestration framework built on configuration tables that hold pipeline dependencies. This page covers the whole pattern on Azure: what goes in the tables, how a run works, the limits that shape it, when it pays off, and the options for building or buying it.

A disclosure: ETLMaestro sells an orchestration layer built on this pattern. It appears below as one option among several, labeled as ours.

  • The run plan (what runs, in what order, with which values, and how often to retry) is data, so changing it doesn't need a deploy.
  • An engine reads the plan and writes a record of every run and every attempt. The record is what lets a retry rerun only the failed steps.
  • In both Azure Data Factory and Fabric pipelines, a Lookup returns at most 5,000 rows, a ForEach runs at most 50 iterations at once, and a pipeline holds at most 120 activities.
  • It pays off when dozens or hundreds of steps depend on each other. For a few independent loads, scheduled pipelines are enough.

How does metadata-driven orchestration work?

An engine runs a loop. It reads the rows that are eligible to run, launches them up to a parallel limit, records every state change, and moves to the next phase when the current one finishes. When a step fails, the run stops at that phase. A retry launches only the failed steps, because the record shows which ones already succeeded.

The engine can be a set of generic pipelines (a Lookup reads the rows, a ForEach launches them, stored procedures log each step), a notebook, an Azure Function, or a product. What makes it metadata-driven is that it holds no knowledge of your estate. Empty the tables and it has nothing to do; add a row and the next run picks it up.

Rerunning only what failed works when each step can run twice without harm. A copy that overwrites a partition, or merges on a key, can be rerun safely. One that appends rows without a watermark can load the same rows twice. Since the pattern makes reruns cheap, make every step safe to rerun before you rely on them.

What goes in the metadata?

Two kinds of rows. The plan is what people edit: what runs, how it runs, in what order, and when, with retry and timeout settings. The record is what the engine writes: one row per run and one per attempt of each step, with status and error. The plan alone can start work. You need both to retry precisely and to report truthfully.

The tables of a typical design. Names vary by framework; the jobs they do don't.
Rows forWhat they holdWhat they replace
What runsSource, target, parameters, an on/off flagA pipeline per source
How it runsThe pipeline, notebook, or procedure to call, and its connectionCopied variants of the same pipeline
In what orderPhase, what each step waits for, how many run at onceArrows on a canvas and Execute Pipeline chains
WhenStart time, retries, wait between retries, timeoutTriggers configured one at a time
What happenedEach run and each attempt: start, end, status, errorThe monitor's run history, which Azure Data Factory keeps for 45 days

Microsoft's own BI team describes the same split in its guidance on BI solution architecture. Its orchestration framework "uses a data-driven design that depends on a set of configuration tables," which "store metadata describing pipeline dependencies and how to map source data to target data structures," and its ingestion runs with "comprehensive logging" for troubleshooting, performance monitoring, and alerts. Microsoft says the investment "has since paid for itself; there's no longer a requirement to hard-code each data movement."

How is it different from canvas pipelines and code-first DAGs?

The difference is where the run plan lives and what it takes to change it. Canvas-first tools keep it in pipeline definitions you edit and publish. Code-first schedulers keep it in Python files you commit and deploy. Metadata-first keeps it in rows a running engine reads, so a change is a data change, reviewed and audited like one.

Three places to keep a run plan, for the same work.
Canvas-first (ADF, Fabric pipelines)Code-first (Airflow, Dagster, Prefect)Metadata-first
Run plan lives inPipeline definitions in the factory or workspacePython files deployed to the schedulerRows in a database the engine reads
Adding a sourceCopy or edit a pipeline, then publishWrite or generate a task, review, deployInsert a row
Changing the orderRedraw dependencies or Execute Pipeline chainsEdit dependencies in code, deployUpdate a phase or dependency value
After a failureRerun from the failed activity, one run at a timeTask retries are built in; clear a failed task to rerun itRetry the failed steps, if the engine records attempts
Who can see what ranPeople with access to the factory or workspace monitorPeople with access to the scheduler's UIAnyone who can query the record or read a report on it
Skills to change itThe designer and its expression languagePython, git, and running the schedulerSQL and the framework's conventions
Where it strainsHundreds of near-identical pipelines, and master pipelinesA scheduler to host and upgrade, while Azure work still runs in ADF or FabricThe framework itself, which someone has to own, test, and document

Many Azure estates mix all three. The work stays in ADF pipelines, Fabric notebooks, and stored procedures, and what changes is where the coordination lives. The cost of keeping it on the canvas is covered in the master pipeline problem, and the code-first route in master pipeline vs Airflow DAG and Airflow vs Azure Data Factory.

Metadata-driven, config-driven, or parameterized: what's the difference?

They answer different questions. Parameterized describes one pipeline taking values at run time. Config-driven means the plan sits in files, often YAML, that ship with the code. Metadata-driven means the plan is data an engine reads while it runs, so changing it doesn't need a deploy. Metadata management, despite the name, is a different subject.

How the terms differ in practice.
TermWhere the plan livesWhat a change takesExample
Parameterized pipelineThe trigger or caller that passes the valuesEditing that trigger or calling pipelineOne copy pipeline with source and target parameters
Config-drivenFiles such as YAML or JSON, deployed with the codeA commit and a deploydag-factory building Airflow DAGs from YAML
Metadata-drivenRows in a database, read at run timeAn insert or update, with no deployA control table read by Lookup and ForEach; an engine reading phases and dependencies
Metadata managementNowhere: it catalogs your data instead of running itNot applicableData catalogs and lineage tools

The lines blur. Microsoft's own Data Factory documentation calls designing metadata-driven pipelines "a common use case for parameters," and a metadata-driven engine passes each row to a parameterized pipeline. The test that separates them is practical: if changing what runs tonight needs a deploy, the plan lives in code or config, however it was generated.

Which platform limits shape a metadata-driven design on Azure?

The same few, in Azure Data Factory and in Fabric pipelines. A Lookup returns at most 5,000 rows and 4 MB, a ForEach runs at most 50 iterations at once, and a pipeline holds at most 120 activities. Past those numbers, designs split into parent and child pipelines, which is why generated frameworks come in levels. The published limits for both platforms, with the usual fix for each, are in ADF and Fabric pipeline limits.

Two differences between the platforms matter more in Fabric than they look. An engine that logs every step with a stored procedure activity spends its concurrency on bookkeeping, and Fabric allows 100 external activities at once per workspace, where ADF allows 3,000 per subscription in a region on the Azure integration runtime. And Fabric's limits page caps an activity run at 24 hours (its activity settings page says 7 days), so an engine that waits inside one long activity should be shaped to finish inside a day there. In ADF, a ForEach also can't contain another ForEach; the documented workaround is a child pipeline, the same split the Lookup limit forces. Our guide to metadata-driven ETL in Azure Data Factory works through those designs in detail.

When does metadata-driven orchestration pay off?

When you run many units of work and the order between them matters. A handful of independent loads doesn't need it, and many independent loads need metadata-driven ingestion rather than orchestration. The pattern pays off when dozens or hundreds of steps depend on each other, a late failure costs hours of reruns, or someone outside engineering needs to know whether the data is fresh.

Signs an estate has outgrown the canvas:

  • Adding a source means copying a pipeline and editing the copy.
  • A failure late in the night means rerunning work that already succeeded.
  • Only one or two people can say what runs after what.
  • The same patterns run in dev, test, and prod, with values that drift apart.
  • The question "is the data fresh?" needs an engineer to answer.

When is metadata-driven orchestration the wrong choice?

When the estate is small or nobody will own the framework. Metadata adds a layer: someone has to design the tables, validate the rows, and keep the engine running. A dozen pipelines that rarely change, or steps that are each one-off logic, are simpler on a canvas or in a short DAG. And a framework that only one person understands brings back the master pipeline problem, with a database in place of a canvas.

  • Business logic stays in notebooks, SQL, or pipelines, and the metadata says when to run it and with which values. SQL fragments stored in rows slip out of reach of code review and tests.
  • A bad row breaks a run the way a bad deploy does, so constraints, an audit trail, and promotion from dev to prod belong in the design from the start.
  • The generic pipeline in the monitor doesn't say which source it just ran. Without the record, debugging gets harder than it was before, so build the record first.

How do you build metadata-driven orchestration on Azure?

Microsoft's built-in tools cover ingestion: ADF's metadata-driven copy task generates control tables and pipelines, and Fabric's Copy job tracks many tables and their watermarks without a control table. Orchestration across pipelines, notebooks, and procedures is a framework you build, adopt from open source, or buy. Each route leaves a different part with you.

Options as of 2026-10-10, from each project's own documentation; the CF.Cumulus row was checked again on 2026-11-11. Check a project's recent activity before adopting it.
OptionWhat it coversRuns onWhat stays with you
Metadata-driven copy task Microsoft, built into ADFCopy at scale: three levels of generated pipelines, control tables, and a procedure that stores watermarksADF, SynapseOrder across pipelines, transformations, and run reporting
Copy job Microsoft, built into FabricBulk, incremental, and CDC copy of many tables, with the last successful run tracked for youFabricEverything after the copy: notebooks, dependencies, phases
Your own framework built in-houseWhatever you design: control tables, an engine pipeline or notebook, logging proceduresADF, FabricAll of it, including the people who understand it
procfwk open source, MITBatches, stages, and parallel worker pipelines from SQL metadataADF, SynapseUpkeep: its README says it gets no development after December 2023, and points to CF.Cumulus
CF.Cumulus Community Edition source-available, Cloud FormationsA metadata-driven lakehouse accelerator with orchestration pipelines, generated from procfwkADF with Databricks and Azure SQL; Cloud Formations' product page also lists Fabric and SynapseAdoption and upkeep, unless you buy a supported edition
FMD Framework open source, MITA community-driven, metadata-driven accelerator for Fabric, built on Fabric SQL DatabaseFabricAdoption and upkeep
Fabric Accelerator and ELT Framework open source, GPL-2.0Reusable Fabric platform components with metadata-driven orchestration from the ELT FrameworkFabricAdoption and upkeep
dag-factory open source, Apache-2.0Airflow DAGs built declaratively from YAML filesApache AirflowRunning Airflow; changes still ship as files
ETLMaestro ours, commercialAn orchestration layer that runs your existing ADF pipelines, Fabric notebooks and pipelines, stored procedures, and Logic Apps from metadata you enter once, with checkpointed phases, retries that rerun only failures, and a Power BI status reportADF, FabricYour pipelines and notebooks; ETLMaestro doesn't move data

Whichever route you take, judge it on the record half as much as the plan half. A framework that can launch work but can't say what ran, what failed, and what a retry will skip still leaves the hard part to a person. The build route is walked through in metadata-driven ETL in Azure Data Factory, the Fabric side in Fabric Data Factory vs Azure Data Factory, and ETLMaestro's own tables in how ETLMaestro works.

Questions teams ask about metadata-driven orchestration

Is metadata-driven orchestration the same as metadata-driven ETL?

They share a mechanism but cover different ground. Metadata-driven ETL, or ingestion, puts the list of things to copy in a control table that a Lookup and a ForEach read. Metadata-driven orchestration also puts the order, the dependencies, the retries, and the run history in tables, across pipelines, notebooks, and stored procedures. Most teams start with ingestion and add orchestration when the order between steps starts to matter.

Does metadata-driven orchestration replace our pipelines and notebooks?

No. The pipelines and notebooks keep doing the work. What moves into tables is the decision about what runs, when, in what order, and with which values. A generic pipeline or notebook receives those values as parameters, so one well-built pipeline can serve hundreds of rows, and logic that is unique to one table stays in its own notebook or procedure.

Where should orchestration metadata live?

In a transactional database the engine can write to row by row, usually Azure SQL Database or a SQL database in Fabric. The plan changes rarely, but the record takes a write for every state change of every step. A SQL database in Fabric draws on your Fabric capacity, while Azure SQL Database is billed on its own, which matters if capacity is already tight.

Can Apache Airflow be metadata-driven?

Partly. Airflow can generate DAGs from configuration files, and libraries such as dag-factory build them from YAML. Airflow's documentation recommends exporting that metadata to files in the DAG folder, and warns that reading Airflow Variables in top-level DAG code opens a connection to Airflow's metadata database. So a change usually ships as a file and a deploy, which is closer to config-driven than to metadata-driven as this page uses the term.

Does metadata-driven orchestration cost more to run?

Rarely by much. An engine built from pipeline activities pays for its own bookkeeping, because each launching or logging activity is a billed activity run. Wrap 500 nightly steps in three non-copy activities each and you get about 45,000 activity runs a month: about $45 on Azure Data Factory, or 252 CU-hours, about $45, in Fabric at pay-as-you-go list rates. The larger cost is the engineering time to build and keep the framework.

How do you test a change to orchestration metadata?

Treat rows like code. Keep the plan in source control or behind an audited change process, let constraints and foreign keys reject bad rows before the engine reads them, and promote changes from dev to test to prod the same way you promote pipelines. A dry run that resolves the next schedule without executing it catches missing rows and broken dependencies before they reach production.

Should we write one notebook per table or one generic notebook?

One generic notebook per pattern, with the table-specific values in metadata, when the work really is the same: copying, merging into a dimension, applying the same cleanup rules. Keep separate notebooks for logic that belongs to one table only. The metadata then decides which notebook runs for which table, in what order, and with which values.

Sources and verification

Written by the ETLMaestro team, who build orchestration on this pattern. Platform limits and prices were checked against Microsoft Learn on 2026-10-10, and each open-source project against its own repository the same day. CF.Cumulus was checked again on 2026-11-11: the repository holds its Community Edition, under the CF.Cumulus Source-Available License v1 since May 2026, and Cloud Formations offers supported editions under commercial terms. Prices are list, pay-as-you-go, US regions: $1 per 1,000 ADF activity runs, and 0.0056 CU-hours per non-copy Fabric activity run at $0.18 per CU-hour.

Spot something out of date? Tell us and we'll fix it.

Where does your estate sit on the matrix?

The Master Pipeline Health Check scores how your orchestration holds together and says what to fix first. Nine questions, three minutes, no email.