---
title: "Contributing to Debezium: Fixing Logical Replication at Scale"
url: https://daily.dev/posts/contributing-to-debezium-fixing-logical-replication-at-scale-nckex5zg0
source_url: https://engineering.zalando.com/posts/2025/12/contributing-to-debezium.html
type: article
source: "Zalando"
published: 2025-12-19T10:15:14.418Z
updated: 2025-12-19T10:15:38.524Z
tags: ["open-source", "kubernetes", "postgresql", "debezium"]
reading_time: 11
upvotes: 27
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Contributing to Debezium: Fixing Logical Replication at Scale

**[Zalando](https://daily.dev/sources/zalando)** · 11 min read · 27 upvotes · 0 comments

## Summary

Zalando contributed two features to Debezium to solve WAL growth issues in PostgreSQL logical replication at scale. The first contribution introduced an opt-in `lsn.flush.mode` configuration to prevent WAL accumulation on low-activity databases. The second added `offset.mismatch.strategy` to handle conflicts between stored offsets and replication slot positions, enabling safer operation with durable offset stores. These features allow users to trust the replication slot position when appropriate, preventing unnecessary full re-syncs and enabling recovery from corrupted WAL segments.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://engineering.zalando.com/posts/2025/12/contributing-to-debezium.html>

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#kubernetes](https://daily.dev/tags/kubernetes), [#postgresql](https://daily.dev/tags/postgresql), [#debezium](https://daily.dev/tags/debezium)

[View this post on daily.dev](https://daily.dev/posts/contributing-to-debezium-fixing-logical-replication-at-scale-nckex5zg0)
