Is not invalidating
The source code of this example is provided on Git Hub.
If you want to follow along and try out all the steps described in the following, clone the repo and follow the instructions in for building the project.
As for the leakage other than blood, pus and yellow liquid, they will invalidate wudu if they leak due to an illness.
Things get tricky, though, when bypassing the application, e.g. Hibernate ORM then has no way of knowing that the cached data has become stale, and it’s necessary to invalidate the affected items explicitly.
A common way for doing so is to foresee some admin functionality that allows to clear an application’s caches.
For this to work, it’s vital to not forget about calling that invalidation functionality, or the application will keep working with outdated cached data.
In the following we’re going to explore an alternative approach for cache invalidation, which works in a reliable and fully automated way: by employing Debezium and its change data capture (CDC) capabilities, you can track data changes in the database itself and react to any applied change.
The pus and yellow liquid coming out of a wound is regarded the same.