Outbox pattern is ensuring data changes made by a microservice are eventually propagated to other
microservices.
▪ Whenever a microservice updates data in its database, it also writes a record to the outbox table with the details of the change.
▪ CDC can then be used to monitor the outbox table for new records, extract the data changes that propagated to the target microservices to be kept up-to-date with the data.
▪ Using CDC with the Outbox pattern allows microservices to decouple their data updates from the process of propagating those updates to other microservices.
▪ This can make it easier to scale and maintain a microservices architecture.
▪ Each microservice can focus on its own data updates and let CDC handle the synchronization of data between services.