# Netflix migrates Ads Event Publisher to Apache Flink for live streaming

> **Key takeaway:** Netflix rebuilt its ad telemetry enrichment pipeline using stateful stream processing in Apache Flink to handle massive traffic surges during live events.

**Published:** 2026-10-14T19:51:35+00:00 
**Source:** Netflix Open Source &amp; Technology 
**Category:** bigtech-foss 
**Canonical URL:** https://fosswire.org/news/netflix-migrates-ads-event-publisher-to-apache-flink-for-liv.html 

## Summary
Netflix has evolved its Ads Event Publisher to support live streaming events like NFL games and major fights. By replacing a database-driven metadata lookup with real-time streaming joins in Apache Flink, the company can now handle the extreme viewership surges characteristic of live broadcasts. This transition allows for better scaling and removes critical path dependencies during high-traffic periods.

## Transition from Key-Value lookups to Flink
- Replaced a **globally replicated Key-Value store** (Ads Metadata Registry) lookup with **stateful stream processing**.
- Implemented **real-time streaming joins** using **Apache Flink** to enrich ad telemetry.
- Designed to handle massive concurrency spikes, such as those seen during events with over 100 million viewers.
- Decoupled metadata enrichment from the critical serving path to improve scalability for live content.

## Why it matters
This demonstrates a large-scale production use case for Apache Flink in managing highly volatile, massive-scale event telemetry.