---
title: "Declarative Event Streaming on Kubernetes at a Billion Events a Day"
description: "Fabric Event Streams (FES) is Zalando's declarative streaming platform."
url: "https://swe.quest/articles/declarative-event-streaming-on-kubernetes-at-a-billion-events-a-day-242f697901fa8690"
canonical: "https://engineering.zalando.com/posts/2026/12/fabric-event-streams.html"
source: "Zalando Engineering"
published: "2026-12-01"
difficulty: "medium"
kind: "Case study"
reading_minutes: 20
tags: ["stream-processing","kubernetes","postgres","event-driven","resilience"]
---

# Declarative Event Streaming on Kubernetes at a Billion Events a Day

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2026-12-01, 20 min read, Case study. Original: [https://engineering.zalando.com/posts/2026/12/fabric-event-streams.html](https://engineering.zalando.com/posts/2026/12/fabric-event-streams.html)

## Summary

Fabric Event Streams (FES) is Zalando's declarative streaming platform. A Kotlin Kubernetes operator turns FabricEventStream resources into stateless connector pods. Progress lives only in the source (Postgres LSNs on replication slots, DynamoDB lease checkpoints, Nakadi cursors) and advances only after sink confirmation, so the platform survived a 3h20m Nakadi outage without losing events. The tradeoffs are at-least-once delivery, CrashLoopBackOff as the retry loop, and WAL bloat on database disks. Covered failure modes include large transactions, quiet slots, and a 404 misclassification that dead-lettered valid events, along with poison-pill recovery strategies, a contract-first OpenAPI schema generating sealed Kotlin types, and in-connector JQ/DuckDB SQL fan-out to multiple sinks.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Stream processing](https://swe.quest/tags/stream-processing.md) (Data & databases)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Event-driven architecture](https://swe.quest/tags/event-driven.md) (Backend & APIs)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)

## Prerequisites

- Kubernetes operators ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- PostgreSQL logical replication ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- event streaming basics ([easy posts on Stream processing](https://swe.quest/tags/stream-processing.md?difficulty=easy))

## Keywords

Fabric Event Streams, Nakadi, Kubernetes operator, PostgreSQL logical replication, DynamoDB Streams, DuckDB, OpenAPI, Kotlin

## Related posts

- [Utilizing Amazon DynamoDB and AWS Lambda for Asynchronous Event Publication](https://swe.quest/articles/utilizing-amazon-dynamodb-and-aws-lambda-for-asynchronous-event-publication-b54b04cd8273be4a.md): Zalando Engineering · 2022-02-02 · Medium · 5 min read · Event-driven architecture, Cloud platforms, Serverless, Resilience, Microservices
  Zalando Payments decoupled event publication from synchronous DynamoDB writes in its Order Store service using the Transactional Outbox pattern, removing the message bus from the request path and raising the availability ceiling from 99.8% to DynamoDB's own.
- [Patterns & Best Practices in Event-Driven Systems](https://swe.quest/articles/patterns-best-practices-in-event-driven-systems-4f09d6274ee25443.md): Kogan.com Dev Blog · 2025-12-08 · Medium · 5 min read · Event-driven architecture, Queues & messaging, Distributed systems, System design, Microservices
  Five core event-driven architecture patterns, compared with their tradeoffs: event notification (thin signals that force consumers to call back), event-carried state transfer (full payloads that decouple consumers at the cost of size and schema discipline), event sourcing with CQRS, choreography and orchestration.
- [Husky: Exactly-once ingestion and multi-tenancy at scale](https://swe.quest/articles/husky-exactly-once-ingestion-and-multi-tenancy-at-scale-e0787135af05f4f3.md): Datadog Engineering · 2023-02-22 · Hard · 21 min read · Multi-tenancy, Distributed systems, Stream processing, Queues & messaging, Analytics & OLAP
  Husky, Datadog's columnar event store, achieves exactly-once ingestion and cost-efficient multi-tenancy by routing events deterministically to Kafka partition groups (shards), so deduplication only has to happen within a shard.
- [Achieving relentless Kafka reliability at scale with the Streaming Platform](https://swe.quest/articles/achieving-relentless-kafka-reliability-at-scale-with-the-streaming-platform-ccf96914fd7cb7a9.md): Datadog Engineering · 2025-02-19 · Medium · 10 min read · Queues & messaging, Resilience, Distributed systems, Scaling, Rust
  Datadog runs hundreds of Kafka clusters with millions of partitions and built the Streaming Platform, a control layer that decouples producers and consumers from specific clusters through "Streams" spanning clusters, AZs and Kubernetes environments.
- [Ensuring reliable OpenTelemetry ingestion at scale](https://swe.quest/articles/ensuring-reliable-opentelemetry-ingestion-at-scale-ef5f46f7e6587da0.md): ClickHouse · 2026-08-24 · Medium · 12 min read · Observability, Resilience, Data pipelines, Cloud platforms, Kubernetes
  ClickHouse's LogHouse OpenTelemetry pipeline, ingesting 50 million events per second, absorbs database backpressure by failing over to S3 rather than buffering in memory, local WALs or Kafka.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
