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" > > >