# Can Debezium Lose Events?

DevFeed: [Can Debezium Lose Events?](<https://devfeed.tech/articles/can-debezium-lose-events-18805.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/can-debezium-lose-events/>)

Published: 2023-11-14T14:00:00Z

Content type: article

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [data observability](<https://devfeed.tech/topics/data-observability.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Database](<https://devfeed.tech/topics/database.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Amazon RDS](<https://devfeed.tech/topics/amazon-rds.md>)

Tags: [amazon-rds](<https://devfeed.tech/tags/amazon-rds.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [database](<https://devfeed.tech/tags/database.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [replication](<https://devfeed.tech/tags/replication.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

## AI overview

The article explains that Debezium should generally not miss database change events because its delivery semantics are at-least-once. Event loss can occur when operational issues cause required transaction-log data to be discarded before a connector captures it, such as when retention limits are exceeded during extended downtime. It discusses retention behavior for MySQL, Amazon RDS, SQL Server, and PostgreSQL replication slots.

## Source excerpt

This question came up on the Data Engineering sub-reddit the other day: Can Debezium lose any events? I.e. can there be a situation where a record in a database get inserted, updated, or deleted, but Debezium fails to capture that event from the transaction log and propagate it to downstream consumers?