blog-post-updating-materialized-views-using-kafka

https://www.google.com/amp/s/zcox.wordpress.com/2017/01/16/updating-materialized-views-and-caches-using-kafka/amp/

blog-post-updating-materialized-views-using-kafka#dual-writes-not-recommended1The application that modifies data in the database can also send data change messages to the changelog topic itself. This approach is known as dual-writes. It is generally not recommended, however, since it adds complexity to the application, you need to handle situations such as not sending the change message on a failed transaction, and change messages could end up out-of-order on the topic. If possible, it's best to use one of the change data capture approaches described above. blog-post-updating-materialized-views-using-kafka#dual-writes-not-recommended1

Referring Pages

data-architecture-glossary