Queryable state and state TTL

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Queryable state and state TTL

Elias Levy
Is there a reason queryable state can't work with state TTL?  Trying to use both at the same time leads to a "IllegalArgumentException: Queryable state is currently not supported with TTL"


Reply | Threaded
Open this post in threaded view
|

Re: Queryable state and state TTL

vino yang
Hi Elias,

From the source code, the reason for throwing this exception is because StateTtlConfig is set to StateTtlConfig.DISABLED. 
Please refer to the usage and description of the official Flink documentation for details.[1]

And there is a note you should pay attention : Only TTLs in reference to processing time are currently supported.


Thanks, vino.

Elias Levy <[hidden email]> 于2018年8月29日周三 上午6:03写道:
Is there a reason queryable state can't work with state TTL?  Trying to use both at the same time leads to a "IllegalArgumentException: Queryable state is currently not supported with TTL"


Reply | Threaded
Open this post in threaded view
|

Re: Queryable state and state TTL

Fabian Hueske-2
Hi,

I guess that this is not a fundamental problem but just a limitation in the current implementation.
Andrey (in CC) who implemented the TTL support should be able to give more insight on this issue.

Best, Fabian

Am Mi., 29. Aug. 2018 um 04:06 Uhr schrieb vino yang <[hidden email]>:
Hi Elias,

From the source code, the reason for throwing this exception is because StateTtlConfig is set to StateTtlConfig.DISABLED. 
Please refer to the usage and description of the official Flink documentation for details.[1]

And there is a note you should pay attention : Only TTLs in reference to processing time are currently supported.


Thanks, vino.

Elias Levy <[hidden email]> 于2018年8月29日周三 上午6:03写道:
Is there a reason queryable state can't work with state TTL?  Trying to use both at the same time leads to a "IllegalArgumentException: Queryable state is currently not supported with TTL"


Reply | Threaded
Open this post in threaded view
|

Re: Queryable state and state TTL

Andrey Zagrebin
Hi,

Fabian is right, support of TTL for queryable state needs an extra effort because of some specifics of its interaction with state objects, but there is no fundamental problem. It is on the roadmap for the future realises.

Best,
Andrey

On 29 Aug 2018, at 09:30, Fabian Hueske <[hidden email]> wrote:

Hi,

I guess that this is not a fundamental problem but just a limitation in the current implementation.
Andrey (in CC) who implemented the TTL support should be able to give more insight on this issue.

Best, Fabian

Am Mi., 29. Aug. 2018 um 04:06 Uhr schrieb vino yang <[hidden email]>:
Hi Elias,

From the source code, the reason for throwing this exception is because StateTtlConfig is set to StateTtlConfig.DISABLED. 
Please refer to the usage and description of the official Flink documentation for details.[1]

And there is a note you should pay attention : Only TTLs in reference to processing time are currently supported.


Thanks, vino.

Elias Levy <[hidden email]> 于2018年8月29日周三 上午6:03写道:
Is there a reason queryable state can't work with state TTL?  Trying to use both at the same time leads to a "IllegalArgumentException: Queryable state is currently not supported with TTL"