If I understand you correctly, you want to write something like:
------------------------------------------------------------------
[cassandra]
^
|
V
(event source) ----> (Add event and lookup) ---> (further ops)
------------------------------------------------------------------
That should work with Flink, yes. You can communicate with an external Cassandra service inside functions.
We are also working on making larger-than-memory state easily supported in Flink, so future versions may allow you to
do this without any external service.