OpenMetadata and Apache Airflow integration

A practical guide to cataloging Airflow DAGs, task status and lineage in OpenMetadata, choosing the right connection method, and planning the setup, identity mapping and checks.

On this page

What the OpenMetadata and Apache Airflow integration catalogs for your DAGs

Data teams running Airflow DAGs often want OpenMetadata to show those DAGs as pipelines, with a named owner, recent run status and lineage to the tables they read and write. The integration brings that pipeline metadata into the catalog so consumers can see where a table comes from and whether the job that feeds it is healthy. The main decision is not whether to connect the two, but which method carries the metadata: the OpenMetadata REST API, an in-Airflow DAG that pushes metadata from inside your scheduler, or a direct connection to the Airflow metadata database. Each method changes who holds credentials, how often metadata refreshes, and what you must maintain when Airflow or OpenMetadata is upgraded.

Both products are open source under the Apache License 2.0. OpenMetadata is maintained by Collate, which also offers commercial enterprise capabilities and premium support. Apache Airflow is an Apache Software Foundation project under the same license, and the project itself offers no paid edition, so any paid support you buy comes from a vendor or service provider. Licensing therefore does not settle the method question. Your Airflow version and its supported life cycle do, because older Airflow lines stop receiving fixes, and the connector behavior you rely on should be checked against the version you run.

Before you choose a method, confirm the exact supported approach, required permissions and captured fields for your OpenMetadata version in the OpenMetadata connector documentation, and check that your Airflow version is in its supported life cycle. Ask the people who will own the pipelines which fields matter most, such as owner, tags, run status and upstream and downstream tables, and test that those fields arrive for one representative DAG before you standardize. Write down who rotates the credential each method uses, because that credential will decide who can read your scheduler's metadata.

Prerequisites: Airflow versions, metadata database and OpenMetadata sizing

Most delays in an Airflow and OpenMetadata integration come from versions, databases and network paths that were never checked. The cards below cover the Airflow release line, the metadata database, the OpenMetadata stack and the access each system needs, so the team can confirm them before any connector is configured.

Airflow 3 on a supported patch

Plan on an Airflow 3 deployment on a current patch release. The supplied support data lists 3.3.2 as the current patch, and Airflow 3 was first released on April 22, 2025. Confirm the exact patch against the version life cycle page before you install, because the upgrade from Airflow 2 is a separate project. Check which executor and DAG delivery method your team uses, since that changes how DAG metadata is exposed to the catalog.

Airflow version life cycle

Retire Airflow 2 deployments

Airflow 2 reached end of life on April 22, 2026, so it receives no fixes. If any DAGs still run on Airflow 2, treat their migration as a prerequisite rather than an afterthought. Ask the platform owner which Airflow 2 installations exist, which ones feed production data, and whether their metadata databases will be migrated or rebuilt. A catalog built against a version that is no longer patched will need rework later.

Upgrading to Airflow 3

Supported metadata database for Airflow

Airflow needs PostgreSQL 14 to 18 or MySQL 8.0, 8.4 or an Innovation release as its metadata database. MariaDB is not supported, and SQLite should not be used in production because it can lead to data loss. Confirm the database version against the prerequisites page, and confirm that backups and high availability for this database exist before the catalog starts reading from it. Ask the database team who owns patching windows.

Airflow prerequisites

Airflow scheduler and worker capacity

Airflow's documentation recommends at least 4 GB of RAM for the deployment, and the scheduler can run more than one instance using database row-level locks. Size the scheduler and web server for the number of DAGs you plan to catalog, not only for today's count. Ask whether the team plans to run more than one scheduler, because that affects how metadata reads from the catalog compete with scheduling load.

Airflow scheduler docs

OpenMetadata runtime stack

OpenMetadata on bare metal requires Java 21, either MySQL 8.0.42 or later or PostgreSQL 15 or later as its database, and Elasticsearch 9.x or OpenSearch 3.x for search. The minimum server size is 2 vCPUs, 4 GB RAM and 20 GB storage, and the database and search services each need at least 2 vCPUs, 2 GB RAM and 30 GB storage. Treat these as floors. Ingestion runs and profiling on large warehouses need more headroom, so confirm sizing against your expected metadata volume.

Bare metal deployment docs

Network paths and service accounts

Confirm that the Airflow workers or the ingestion runner can reach the OpenMetadata API endpoint, and that OpenMetadata can reach the Airflow API or metadata database, depending on the connection method you choose. Create a dedicated service account in each system, with the narrowest role that reads DAG and task metadata and writes to the catalog. Record who approves firewall rules and secret storage, because the connection method determines which credentials must be stored and rotated.

OpenMetadata security docs

Choosing the REST API, in-Airflow DAG or direct database method

A job you write calls OpenMetadata's REST API, or its Python SDK, to create or update pipeline entities, task status and lineage edges. The code lives in your repository and runs wherever your team chooses to run it, so the integration is a piece of software your team builds and maintains.

  • Ownership: your data platform team writes, reviews and maintains the calls, so the integration is only as current as that code.
  • Credentials: an OpenMetadata token scoped to the pipeline or ingestion role, held in your secrets store and read at run time.
  • Upgrade behavior: Airflow upgrades can change the hooks, context values and operators your code depends on, and OpenMetadata API changes follow the release notes for the version you run.
  • Visibility: you decide which task states and lineage edges to send, so coverage matches what the code writes and no more.
  • Effort and risk: this method has the highest build effort, but it is the least tied to Airflow's internal structure.

Before the build starts, confirm the endpoints, SDK package and lineage payload format against the OpenMetadata documentation for your deployed version.

How Airflow run metadata and lineage reach OpenMetadata

The diagram starts with Airflow DAGs and task runs in the Airflow network zone. Run state is stored in the Airflow metadata database, a separate store from OpenMetadata's own database. Lineage can arrive as OpenLineage events sent to the OpenMetadata server. Run status and metadata reach it through an in-Airflow DAG that calls the REST API with a token from the credentials store, or through a connector that reads the Airflow metadata database directly. Each path crosses the trust boundary into the OpenMetadata zone, so confirm the credentials, network routes and firewall rules each one needs before you choose.

Three ingestion paths cross one trust boundary into OpenMetadata.

Setting up the OpenMetadata and Apache Airflow integration in sequence

This sequence takes a team from version checks to verified Airflow DAG, task and lineage records in OpenMetadata, with a clear check at every step so problems surface in a test environment first.

  1. Confirm Airflow and OpenMetadata versions

    The platform engineer records the Airflow version and the OpenMetadata version in the test environment, then checks both against the Airflow version life cycle table and the OpenMetadata 2.0 release notes. Airflow 2 reached end of life on April 22, 2026, so any Airflow 2 deployment should be planned for upgrade before integration work starts. For OpenMetadata 2.0, confirm the breaking changes that affect your ingestion images, including the move to Python 3.12 and the Great Expectations 1.3 requirement if you use it. The step is done when a written version matrix exists and every component is on a version still receiving fixes.

  2. Create the service identity in each system

    The Airflow administrator creates a dedicated service account for metadata reads, with access limited to DAG, task instance and dataset metadata. The OpenMetadata administrator creates a separate bot or service user with an ingestion role, not a personal account. Keep these identities out of SSO group mappings, because OpenMetadata does not support combining SSO and basic authentication at once, so the team should decide early how human logins and the ingestion identity will coexist. The step is done when each identity logs in successfully once and its permissions match the written access list.

  3. Choose and document the connection method

    The integration lead compares three approaches: the OpenMetadata REST API called from your own code, an ingestion DAG that runs inside Airflow, and a direct connection to the Airflow metadata database. Each choice affects who maintains the code, which credentials must be stored, and whether the metadata database is exposed to another service, so document the trade-offs and the owner of each. Confirm the chosen method against the Airflow prerequisites and the OpenMetadata connector documentation for your versions. The step is done when a one-page decision record names the method, the owner and the credentials it needs.

  4. Store credentials in the secrets backend

    The platform engineer places the Airflow service credentials and the OpenMetadata token in the secrets backend your organization already operates, then references them by name in connection settings rather than writing them into DAG files or configuration files in source control. Restrict read access to the scheduler and the ingestion workers, and confirm that task logs do not print the secret values. The check is a test run that completes using only the secret references, followed by a search of the repository and the sample task logs for the raw token, which should return no matches.

  5. Register the Airflow service in OpenMetadata

    The OpenMetadata administrator creates a pipeline service for Airflow, entering the connection details that the chosen method requires and running the connection test in the OpenMetadata interface. Assign an initial owner and a domain to the service so that later DAG records inherit governance from the start. The step is done when the connection test reports success and the service appears in the services list with the expected owner. If the test fails, check the identity's permissions and the network path before changing any other setting.

  6. Run a first metadata pull in a test environment

    The integration lead runs one metadata pull against a test Airflow instance that contains a small set of representative DAGs, scoped with include or exclude filters so that only the intended DAGs are read. Watch the ingestion run output and the Airflow scheduler logs during the run, and note any warnings about permissions, unsupported fields or timeouts. Do not schedule recurring pulls until the first run finishes cleanly. The step is done when the run ends with a success status and a count of ingested DAGs that matches the filtered test set.

  7. Verify DAG, task and lineage records

    The data steward opens the pipeline entity in OpenMetadata and checks that each test DAG appears with its tasks, owner, description and the most recent run status, then compares those values with the Airflow user interface. For lineage, open a test task that reads and writes known tables and confirm that the expected upstream and downstream tables are linked, noting any edge that is missing because the task does not declare its inputs and outputs. Also confirm that a failed-login message does not appear in the OpenMetadata or Airflow logs during these checks. The step is done when a written verification sheet shows each DAG, task and lineage edge as matched, missing or explained.

How Airflow DAGs, tasks and runs map to OpenMetadata entities

This table compares each Airflow object with the OpenMetadata entity it becomes, what to verify after ingestion, and the gap teams most often miss. The mapping depends on the connection method you choose, so confirm exact field names in the OpenMetadata connector documentation for your version before you build dashboards or ownership rules on top of it.

Airflow objectOpenMetadata entityWhat to verifyCommon gap
DAGPipelineEach DAG appears once as a pipeline under the expected pipeline service, with the same identifier used in Airflow.Renamed or regenerated DAG IDs create a second pipeline and split history.
TaskPipeline taskTasks appear as children of their parent pipeline and match the dependency graph shown in the Airflow UI.Dynamically generated tasks may not appear unless the connection method reads them at run time.
Task run statusPipeline status (per run)Recent run results show success, failure or running states that match the Airflow run history.Status depends on the connection method and version, so some runs or task-level states may be missing.
SchedulePipeline schedule or metadata fieldThe schedule expression in the DAG matches what the catalog displays after a fresh ingestion.Schedules set through the UI or overridden at trigger time may not match the DAG file.
Owner and tagsPipeline owner and tagsOwners and tags come from DAG-level settings or your chosen mapping and resolve to real users or teams in OpenMetadata.Owners set in default_args or tags in code may not transfer unless the mapping is configured.
Lineage between tables and tasksLineage edges between table entities and pipeline tasksInput and output tables for each task appear as upstream and downstream edges with the expected column detail.Lineage stops where the task does not declare its inputs and outputs, so tasks reading dynamic SQL often show no edges.

Running OpenMetadata's own ingestion on Airflow

The second use of Airflow in this integration is running OpenMetadata's own metadata ingestion workflows as DAGs, so the scheduler that already runs your pipelines also pulls metadata into the catalog. Before you build anything, confirm which ingestion image and Airflow version your OpenMetadata release expects. OpenMetadata 2.0 moved its ingestion images to Python 3.12 with Apache Airflow 3.3.0, so any custom ingestion image you built for an earlier release must be rebuilt for Python 3.12 before the upgrade, or its connectors will not start. Treat that rebuild as part of the upgrade plan, not an afterthought, and test one connector end to end in a non-production environment first.

Plan the Airflow side for the ingestion load, not for your pipeline load. Ingestion DAGs are mostly metadata reads that run on a schedule, but they can be many and wide across dozens of sources, and each run writes state to the Airflow metadata database. Confirm the metadata database is PostgreSQL or MySQL, since the Airflow production guidance rules out SQLite outside testing. Airflow supports more than one scheduler at once through database row-level locks, which gives resiliency and throughput, so decide whether you need that. Choose an executor that fits the ingestion footprint, and remember that the hybrid CeleryKubernetesExecutor and LocalKubernetesExecutor are no longer supported from Airflow 3.0.0 onward, so a design that depends on them needs a different executor choice before you migrate.

Ask your OpenMetadata and Airflow maintainers to confirm three things in writing: the Airflow version bundled with your target OpenMetadata release, the Python version of the ingestion image you will run, and the executor and database combination the vendor tests against. Your ingestion schedule should also avoid colliding with heavy pipeline windows, and you should monitor ingestion run duration and failures from the start, because a catalog that silently stops refreshing loses trust quickly.

Securing the Airflow to OpenMetadata connection

The connection between Airflow and OpenMetadata carries credentials and metadata about your pipelines, so it needs the same care as any service account. The cards below cover the identity, secrets, Airflow permissions, network path and audit trail that together decide how exposed that connection is.

Dedicated least-privilege service account

Create a separate bot or service identity in OpenMetadata for ingestion, rather than reusing an administrator or a person's account. Give it only the permissions needed to read pipeline metadata and write ingestion results for the services it manages. Review its role at each OpenMetadata upgrade, and confirm in your own environment which entity permissions the ingestion user actually requires.

Security docs

Secrets from a secrets backend

Keep OpenMetadata and source credentials out of DAG code, variables stored in plain text and version control. Store them in a secrets backend that Airflow reads at runtime, and confirm that the OpenMetadata ingestion configuration resolves the same secret references in your deployment. Rotate the service account token on a schedule and document who can read the backend.

Airflow authentication and permissions

Airflow 3 controls access through its auth manager, so decide who can view, trigger and edit the DAG that pushes metadata to OpenMetadata. Restrict edit rights on that DAG because it holds the path to write into your catalog. Check the auth manager documentation for your chosen provider and confirm how it maps your identity groups to Airflow roles.

Airflow auth manager

Network path and TLS

Decide whether Airflow reaches the OpenMetadata server over a private network, a service mesh or a public endpoint, and restrict access to the required ports only. Serve OpenMetadata over TLS and make sure the ingestion workers trust the certificate authority that issued it. Test the path from the actual worker subnet, since workers in a separate cluster often sit behind different egress rules.

Single sign-on and authentication mode

OpenMetadata documents SSO with providers such as Okta, Azure, Google and Keycloak, but it does not support combining SSO with basic authentication at the same time. Plan the bot token path for automated ingestion before you switch the human login to SSO, so the pipeline keeps working. Confirm the supported bot authentication method for your OpenMetadata version before cutover.

OpenMetadata security

Audit trail of ingestion runs

Record which pipeline ran, under which identity, when it started and how it ended. Use Airflow task logs and the ingestion run status in OpenMetadata together, and forward both to the log store your security team monitors. Confirm the retention period your policy requires, because neither system's default retention should be assumed to meet it.

Common failures when connecting Airflow to OpenMetadata

This table pairs common symptoms with their likely causes and fixes when Airflow and OpenMetadata are connected. Use it to triage a failure before opening vendor docs, then confirm exact error messages against the documentation for your OpenMetadata and Airflow versions. Most failures trace back to version support, metadata database choice, image rebuilds, credential drift or ingestion scope.

SymptomLikely causeFix
Ingestion fails on an Airflow 2 deployment that no longer receives fixesThe Airflow line is end of life or in limited maintenance, so connector code targets versions you no longer patchConfirm the support status in the Airflow version life cycle table, then plan an upgrade to a supported line before changing the connector setup
Airflow metadata database errors or data loss risk in productionThe deployment uses SQLite, or MariaDB, which the Airflow prerequisites do not support as a metadata databaseMove the Airflow metadata database to PostgreSQL or MySQL within a supported version range, following the Airflow production deployment guide
Ingestion image fails after the move to Python 3.12Custom ingestion images were built on an older Python base and were not rebuilt for OpenMetadata 2.0Rebuild custom images on the Python 3.12 base, check Airflow 3.3.0 compatibility of your DAG dependencies, and read the 2.0 breaking changes before upgrading
Connection test passes in one place but ingestion is rejected in the otherA service account or API token was rotated in Airflow or OpenMetadata but not in the other systemRotate the credential in both systems in one change window, store it in a secrets backend, and record which system owns each value
Tasks or DAGs appear in OpenMetadata but lineage is missingThe pipeline or task was never ingested, or the lineage step ran before the source tables existed in the catalogRun metadata ingestion for the Airflow service first, confirm the pipeline entity exists, then re-run lineage ingestion against the database services
Duplicate pipeline entries after a DAG renameOpenMetadata identifies pipelines by their source name, so a renamed DAG creates a new entity while the old one remainsDecide whether the old entity should be retired, mark or delete it deliberately, and move ownership, tags and glossary links to the new entity

What the OpenMetadata and Apache Airflow integration costs and who should run it

What drives the cost and effort of an OpenMetadata and Airflow integration?

The main drivers are the number of DAGs and tasks to catalog, the integration method you choose, the age and state of your Airflow version, and the secrets and network work needed to reach Airflow and the metadata database from the catalog. A small set of DAGs that already follow naming and ownership conventions is less work than a large estate where owners, tags and descriptions are missing. Method choice matters too: a REST API approach, an in-Airflow DAG that pushes metadata, and a direct database connection each need different credentials, network paths and maintenance. If your Airflow is on an older line, the version upgrade may add more work than the catalog itself. Ask any partner to split the quote by these drivers so you can see which ones you can reduce yourself.

Can our own team run an OpenMetadata and Airflow integration without a partner?

Yes, if your team has working Airflow administration skills, database administration skills for both the metadata store and OpenMetadata's own database, and enough time to build and validate a test environment before anything touches production. The work is mostly configuration, credential setup, connector testing and ownership mapping, so the main constraint is calendar time rather than specialist knowledge. Teams without a dedicated Airflow owner, or without anyone who can review network and secrets decisions, often find the integration stalls once the first DAG set is cataloged. A written scope helps you test honestly: list the methods you can support, the people who will operate them and the environment you will validate in.

How long does an OpenMetadata and Airflow integration take?

Duration depends on the scope agreed in writing, so no fixed figure applies across environments. The schedule is shaped by how many Airflow deployments and DAG sets are in scope, which integration method is selected, whether the Airflow version needs upgrading first, and how long your security team takes to approve service accounts and network paths. Ask for a plan that breaks the work into phases: environment and access preparation, a test run against a sample of DAGs, validation of task status and lineage, then production rollout and handover. Any timeline should name the dependencies on your side, such as approvals and test environment availability, so that delays can be traced to a specific gate.

What does our organization need to provide for the integration?

You will need to provide service accounts with the permissions each method requires, read access to the Airflow instance or its metadata, a non-production environment where the integration can be tested, and a named owner for the catalog who makes decisions about domains, glossary terms and ownership. Your security team should also expect to review how credentials are stored and rotated and which network paths are opened between Airflow, OpenMetadata and the database. Confirm with your Airflow and OpenMetadata documentation which permissions each method needs, because the exact scope depends on the versions you run. Without an owner for the catalog, the integration may run correctly but produce pipeline pages nobody maintains.

What recurring work follows go-live for an OpenMetadata and Airflow integration?

After go-live, recurring work includes upgrades to both OpenMetadata and Airflow, credential rotation for the service accounts and database users, and monitoring of ingestion runs so failures are noticed and fixed. Airflow's support policy means older lines move to limited maintenance and then end of life, so plan a version review on a regular schedule rather than waiting for a support deadline. OpenMetadata 2.0 introduced breaking changes to some configuration areas, so any upgrade should be tested against your integration first. Ask any provider whether they offer ongoing support or upgrade retainers and what those cover, because the choice between in-house and external operation depends on this recurring load.

How do we request a quote for an OpenMetadata and Airflow integration?

Start by writing a scope that lists the Airflow deployments and their versions, the number of DAGs and whether they are grouped by team, the integration method you prefer or want assessed, the metadata database type, the network zones involved and the environments available for testing. Add the outcomes you need, such as task status, lineage and ownership, and the systems that must stay out of scope. DeployOpen does not publish a price list. Engagements are fixed-scope, so a quote follows from the written scope with deliverables and timelines agreed in writing before work starts. Share the scope with several providers so the quotes can be compared on the same assumptions.

How DeployOpen works on this

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For OpenMetadata and Apache Airflow integration, we start by agreeing on which DAGs, lineage paths and ingestion jobs matter, then build and hand over the setup in your environment.

How we scope

  • Engagements are fixed-scope, with the DAGs, metadata objects and connection method agreed in writing before work starts.
  • The written scope names the Airflow and OpenMetadata versions, the connection method and the environments that will be covered.
  • Ask for a quote that separates the integration build, any Airflow upgrade work and the OpenMetadata ingestion setup.

How we build

  • We configure the chosen method, whether REST API, in-Airflow DAG or direct database connection, against your own deployments.
  • We set up service accounts and credentials in your secrets store, with permissions limited to the metadata the integration needs.
  • We test task status, DAG ownership and lineage in a non-production environment before anything reaches production.

How we hand over

  • You receive the integration code, configuration and runbook, documented so your own engineers can operate it.
  • The handover covers how to add new DAGs, rotate credentials and read ingestion failures in OpenMetadata.
  • Agree in the scope which items are delivered as source repositories and which are documented configuration.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover planned moves to newer Airflow or OpenMetadata releases, with each upgrade tested against the integration first.
  • Ask the support provider to confirm response expectations and which versions they will maintain before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.