Hi Fabian/Stephan, This makes things clear. This is the use case I have : I am performing a outer join operation on the two streams (in window) after which I get matchingAndNonMatchingStream, now I want to make sure that the matching rate is high (matching cannot happen if one of the source is not emitting elements for certain time) , so to tackle this situation I was thinking of using RocksDB as a state Backend, where I will insert the unmatched records in it (key - will be same as used for window and value will be DTO ), so before inserting into it I will check if it is already present in RocksDB, if yes I will take the data from it and send it downstream (and ensure I perform the clean operation for that key). (Also the data to store should be encrypted, encryption part can be handled ) so instead of using Cassandra , Can I do this using RocksDB as state backend since the state is not gone after checkpointing ? P.S I have kept the watermark behind by 1500 secs just to be safe on handling late elements but to tackle edge case scenarios like the one mentioned above we are having a backup plan of using Cassandra as external store since we are dealing with financial critical data. Regards, Vinay Patil On Wed, Aug 31, 2016 at 11:34 AM, Fabian Hueske <[hidden email]> wrote: Hi Vinaj, |
Free forum by Nabble | Edit this page |