Reputation: 4319
My question is related to Change data capture and real time updates. I have a mysql database which has close to 250 tables whose change data is captured using debezium and sent to kafka on their respective topics.
These tables are highly normalised and I am interested in a denormalised view which is created by joining some of the tables. Now I need to know whenever there is a change in the table, I get to see that as a change in the denormalised topic in a near real time.
How can I do so. How does log compaction works? Do I need to log compact all the topics in order to get denormalised topic view?
What other possibilities I have here?
Upvotes: 4
Views: 158
Reputation: 4948
This is not very straight forward to accomplish.
The following are some options you could try.
https://debezium.io/blog/2018/05/24/querying-debezium-change-data-eEvents-with-ksql/
https://debezium.io/blog/2018/09/20/materializing-aggregate-views-with-hibernate-and-debezium/
Upvotes: 2