debezium / debezium/dbz

Debounce self-originated Hibernate cache invalidation events in Debezium Hibernate

Open
#1,614 0 comments 0 reactions 0 assignees View on GitHub
component/debezium-quarkus-extension type/enhancement
Dominant language
HTML
Stars
6
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

## Context

When the application writes to the DB, it often triggers both:

1. a local cache invalidation (because the app knows it changed the entity), and
2. a CDC event consumed by the same app via Debezium, which can cause a second, redundant invalidation.

This duplication increases cache churn and can cause thundering-herd effects under write-heavy workloads.

## Proposal

We need a mechanism to debounce invalidation events that are self-originated (i.e., changes the same application instance just performed), while still honoring invalidations coming from other nodes/instances.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.