Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create example for using RIG to forward database change streams to clients #339

Open
Knappek opened this issue Nov 6, 2020 · 0 comments

Comments

@Knappek
Copy link
Contributor

Knappek commented Nov 6, 2020

The awesome project Debezium is an open source project for change data capture that streams changes from your database. By pointing Debezium on a database, you can respond to all of the inserts, updates and deletes of a database. Debezium's basic architecture is to listen to database events and forwarding them to Kafka. See more details on their architecture documentation. Debezium can be integrated with a number of 3rd party projects but does not forward these events to client side applications.

This is where RIG kicks in. We could create a new example in our examples directory where we subscribe to the Kafka topic, to which Debezium produces the database change events, and forward them to clients. With this architecture, mobile apps or SPAs can "directly" subscribe to database events and reload the data in the frontend immediately without reloading the page. You can then achieve a similar experience as in Firebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant