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 <yanghua1...@gmail.com
>:

> 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.
>
> [1]:
> https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/stream/state/state.html#state-time-to-live-ttl
>
> Thanks, vino.
>
> Elias Levy <fearsome.lucid...@gmail.com> 于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 via email to