Using Queryable State within 1 job + docs suggestion

Posted by Annemarie Burger on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Using-Queryable-State-within-1-job-docs-suggestion-tp35227.html

Hi,

I want to use Queryable State to communicate between PU's in the same Flink
job. I'm aware this is not the intended use of Queryable State, but I was
wondering if and how it could be done.
More specifically, I want to query the (event-time) window state of one PU,
from another PU, while both are in the same window. Any suggestions?

Also, when I was trying to get Queryable state working in my IDE, this took
quite a while because the  docs
<https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/state/queryable_state.html#activating-queryable-state>  
state "copy the flink-queryable-state-runtime_2.11-1.10.0.jar from the opt/
folder of your Flink distribution, to the lib/ folder.". This seems to be
only relevant if you're using a local version of Flink. If you're using the
Maven dependencies you can achieve the same effect by adding the
queryable-state-runtime dependency. It could be helpful for other users to
mention this in the docs.

Best,
Annemarie



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/