You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by Zhenghua Gao <do...@gmail.com> on 2020/03/13 04:04:11 UTC

Re: checkpoint 代码中如何设置TTL

DataStream 用户可以直接在StateDescriptor中设置TTL [1]
详见文档中的代码。

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/stream/state/state.html#state-time-to-live-ttl

*Best Regards,*
*Zhenghua Gao*


On Thu, Mar 12, 2020 at 9:25 PM 潘明文 <pa...@163.com> wrote:

> 您好,
>    checkpoint  基于RocksDBStateBackend的如何设置TTL?