Hi Sai,

1) I think its okay to keep state in a RichWindowFunction.
2) I think it stays forever, yes
3) I'm including Nico, he can probably help you with the queryable state
question.
4) I guess that's a queryable state question too.


On Fri, Mar 10, 2017 at 1:04 AM, saiprasad mishra <saiprasadmis...@gmail.com
> wrote:

> Hi All
> I have few questions on understanding state with flink
>
> 1) Is it advisable to create custom state within a RichWindowFunction
> function.
> I am able to create it but
>
> 2) If I create state in the window function then does the state remain for
> ever as I want the state to stay for ever
>
> 3) Also one thing I am noticing is the custom valuestate is not queryable
> from the query client and it results in the following exception
>
> org.apache.flink.runtime.query.UnknownKvStateLocation: No KvStateLocation
> 4) is it possible to list all the state stores for a job Id, I did not see
> it in the client api
>
> Regards
> Sai
>

Reply via email to