How to implement Transactional Outbox design pattern in Spring Boot Microservices?
Let’s say you have created a microservice. One of the APIs in the microservice does two operations: How can you make sure both are transactional? In other words if database update fails don’t send the message to the other service and if message sending fails rollback the database update? In Spring you handle transactions using…
How to implement Change Data Capture (CDC) using Debezium?
Let’s say you have created an application which writes some data to the database. And you want to track all operations done on the database. How can you do this without blocking the user in a non intrusive way? And that too without adding any extra code to the application? CDC (Change Data Capture) is…