Reputation: 350
I'm hoping to use Flink SQL as a materialized view over multiple different services. For example, reading data from MySQL & Redis & RPC services, join them together, then updates result table stored in PostgreSQL
All of these services above have notification writes to Kafka regarding what has changed.
If the "notification" contains all the information in the source tables, then I can just use dynamic tables. However, data in source tables are too large that will be such a waste to store all of them in dynamic tables.
So the best way to do this would be:
Is it possible to do this with some tricks?
Upvotes: 1
Views: 555
Reputation: 3184
Seems like a job for SYSTEM TIME AS OF
/ LookupTableSource
; which is available for JDBC, but not for redis or RPC. That should not be too difficult to implement, though.
Upvotes: 1