Keeping latest data point in a data stream variable
Posted by Biplob Biswas on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Keeping-latest-data-point-in-a-data-stream-variable-tp7642.html
Hi,
I want to keep the latest data point which is processed in a datastream variable. So technically I need just one value in the variable and discard all the older ones.
Can this be done somehow? I was thinking about using filters but i don't think i can use it for this scenario.
Any ideas as to how to do something like this is really appreciated.
Thanks a lot
Biplob