Encode

Work

Central data warehouse and pipelines for Hubert Burda Media

Nightly pipelines from 37 source systems into one warehouse, built and run for six years, June 2018 to June 2024.

Nightly pipelines from 37 source systems into one warehouse for a major German media group, built and run by Encode from June 2018 to June 2024, with two Encode features merged into Apache Airflow.

Datahub: 37 source groups into one warehouse Sources Pipelines Warehouse Analytics and ads Google Analytics, Adobe, ad servers Business systems SAP, Coupa, Jira Files and web FTP, scraping Apache Airflow 64 DAGs DAG factory pipelines from configuration In use S3 data lake dbt 297 models Snowflake In use Secure views 217, role-based Dashboards Power BI Slack report daily, failed runs Orange: rebuilt while the warehouse was in daily use.
Datahub: 37 source groups into one warehouse

Situation

Burda's digital media entities produced large volumes of data across dozens of internal and external sources: web analytics, ad-tech, sales, procurement, support. There was no single warehouse to ingest, normalise and enrich it for business intelligence. An Airflow-based first version existed from another vendor. It needed to be built out, hardened, migrated to a modern warehouse and run reliably every night.

What we built

From June 2018 to June 2024 we built and ran Datahub, the central data warehouse for Hubert Burda Media. Nightly ETL pipelines pull data from 37 source systems across the group's digital media entities into an S3 data lake and Snowflake, run the dbt transformations and serve the result to Power BI and custom dashboards.

We joined the Airflow platform another vendor had started, became its main engineering contributor, migrated the warehouse from PostgreSQL to Snowflake from February 2019, introduced dbt in January 2020 and a configuration-driven DAG factory in March 2020, and built the hub layer of secure views that lets other group companies consume data with role-based access per table and warehouse. Burda teams in corporate controlling, advertising BI and procurement built their own dbt projects on top of the platform.

Airflow orchestrates 64 DAGs across the 37 source groups, with custom operators and plugins per source and the DAG factory generating the Google Analytics pipelines from configuration. Infrastructure is code, with Terraform on AWS, a Docker runtime, CI/CD on Jenkins and GitHub Actions, operator, unit and DAG integrity tests, a separate test tool for Snowflake and a daily Slack report of failed extractions. Operations covered DAG management, backfilling, migrating legacy workflows, password rotation across user and machine accounts, and security audits of access keys and security groups.

The home page of the data warehouse's pipeline scheduler: favourite pipelines with their recent runs, the health of the scheduler and its components, the pool slots in use, and the runs and task instances of the last 24 hours.
The pipeline scheduler's home page: favourite pipelines with their recent runs, and the health of the last 24 hours.

The hard part

A warehouse that feeds the business every morning cannot stop for its own rebuild. The migration from PostgreSQL to Snowflake began in February 2019, in the platform's busiest year of build-out, while the nightly loads kept running and the dashboards kept opening. Everything after it, dbt, the DAG factory, the secure-view hub, Terraform, the move to Airflow 2.4, landed the same way, into a platform in daily use.

The second hard part was onboarding at scale. With dozens of sources, each with its own API and quirks, a pipeline per source does not scale. The DAG factory turned the Google Analytics pipelines into configuration, so a new property is a row rather than a new DAG. Backfilling those generated pipelines needed two features Airflow did not have, a regex filter on which DAGs to backfill and a way to disable retries during a backfill. We built both and contributed them. The first was merged on 8 August 2022 and shipped in Airflow 2.4.0, the second on 7 November 2022.

Outcome

  • 64 Airflow DAGs across 37 source systems feeding one warehouse (code survey, October 2026).
  • 297 dbt models in the central transformations project and 217 secure-view models in the hub sharing layer, with about 1,200 further models in Burda-team projects built on the platform (code survey).
  • Two pull requests merged into Apache Airflow: a DAG regex flag for backfill (released in Airflow 2.4.0) and a disable-retry flag on backfill (2022).
  • One Burda brand concluded it no longer needed weekend staff because of the data the system delivers.
  • Six years of operation, June 2018 to June 2024.

What changed: another vendor's Airflow prototype became the group's central data asset, migrated to a modern warehouse without a pause in the nightly loads. Sources are onboarded by configuration and shared across the group's companies through role-based secure views.

Fact sheet

ClientHubert Burda Media, Germany.
Engagementdeveloper services agreement over six years, June 2018 to June 2024. Scrum in 3-week sprints, story points estimated by the whole project team, recurring security tasks, documentation in Confluence and ReadTheDocs.
PlatformPython, Apache Airflow 2.4 with custom operators and plugins per source and a DAG factory, dbt, Snowflake, an S3 data lake, AWS (S3, EC2, ECS, Transfer Family, SES, Lambda), Terraform and Terragrunt, Docker, GitLab and GitHub with Jenkins and GitHub Actions, Power BI and custom dashboards, Slack ChatOps reporting.
Sourcesweb and app analytics, ad servers and ad-tech platforms, audience measurement, social, marketplaces, procurement, ERP, support, project tracking, FTP and web sources.
Numbers, with their dates64 DAGs, 37 source systems, 297 central dbt models, 217 secure views, about 1,200 team models. 2 Airflow contributions merged (2022).
CompanyEncode d.o.o., Zagrebačka cesta 145A, Zagreb, Croatia
info@encode.hr
SiteWork Services About Contact
LegalImpressum / Legal notice Privacy
OIB 04954819540, MBS 060325736