Friends don't let friends do dual writes: OpenShift Streams & Debezium | DevNation Tech Talk

preview_player
Показать описание
Dual writes are a common source of issues in distributed event-driven applications. A dual write occurs when an application has to change data in two different systems - for instance, when an application needs to persist data in the database and send a Kafka message to notify other systems. If one of these two operations fail, you might end up with inconsistent data which can be hard to detect and fix.

OpenShift Streams for Apache Kafka is Red Hat's fully hosted and managed Apache Kafka service targeting development teams that want to incorporate streaming data and scalable messaging in their applications, without the burden of setting up and maintaining a Kafka cluster infrastructure. Debezium is an open source distributed platform for change data capture. Built on top of Apache Kafka, it allows applications to react to inserts, updates, and deletes in your databases.

In this session you will learn how you can leverage OpenShift Streams for Apache Kafka and Debezium to avoid the dual write issue in an event-driven application using the outbox pattern.
More specifically, we will show you how to:
Provision a Kafka cluster on OpenShift Streams for Apache Kafka.
Deploy and configure Debezium to use OpenShift Streams for Apache Kafka.
Refactor an application to leverage Debezium and OpenShift Streams for Apache Kafka to avoid the dual write problem.
Рекомендации по теме
Комментарии
Автор

Great demo. Love Kafka. Keep them coming.

toenytv
Автор

Great demo, Thanks for that. I would like to add a Kafka header when PostgressConnector sends a payload to Kafka topic. Is that something possible? If so can you please share some examples (maybe Github). Thanks

wilsonaro
Автор

Using environment variables instead of mounting a properties file would have been probably easier to set up 😅

septic