RE: how to connect to the flink-state store and use it as cache to serve APIs.

2022-07-06 Thread Schwalbe Matthias
6:29 AM To: Yuan Mei Cc: Hangxiang Yu ; user Subject: Re: how to connect to the flink-state store and use it as cache to serve APIs. ⚠EXTERNAL MESSAGE – CAUTION: Think Before You Click ⚠ Hi Folks, I just wanted to double check, if there is any way to expose rest APIs using Flink sql tables

Re: how to connect to the flink-state store and use it as cache to serve APIs.

2022-07-05 Thread laxmi narayan
Hi Folks, I just wanted to double check, if there is any way to expose rest APIs using Flink sql tables ? Thank you. On Thu, Jun 30, 2022 at 12:15 PM Yuan Mei wrote: > That's definitely something we want to achieve in the future term, and > your input is very valuable. > > One problem with

Re: how to connect to the flink-state store and use it as cache to serve APIs.

2022-06-29 Thread Yuan Mei
That's definitely something we want to achieve in the future term, and your input is very valuable. One problem with the current queryable state setup is that the service is bounded to the life cycle of Flink Job, which limits the usage of the state store/service. Thanks for your insights. Best

Re: how to connect to the flink-state store and use it as cache to serve APIs.

2022-06-29 Thread laxmi narayan
Hi Hangxiang, I was thinking , since we already store entire state in the checkpoint dir so why can't we expose it as a service through the Flink queryable state, in this way I can easily avoid introducing a cache and serve realtime APIs via this state itself and I can go to the database for the h

Re: how to connect to the flink-state store and use it as cache to serve APIs.

2022-06-28 Thread Hangxiang Yu
Hi, laxmi. There are two ways that users can access the state store currently: 1. Queryable state [1] which you could access states in runtime. 2. State Processor API [2] which you could access states (snapshot) offline. But we have marked the Queryable state as "Reaching End-of-Life". We are also

how to connect to the flink-state store and use it as cache to serve APIs.

2022-06-28 Thread laxmi narayan
Hi Team, I am not sure if this is the right use case for the state-store but I wanted to serve the APIs using queryable-state, what are the different ways to achieve this ? I have come across a version where we can use Job_Id to connect to the state, but is there any other way to expose a specific