checkpoint 代码中如何设置TTL

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

checkpoint 代码中如何设置TTL

潘明文
您好,
   checkpoint  基于RocksDBStateBackend的如何设置TTL?
Reply | Threaded
Open this post in threaded view
|

Re: checkpoint 代码中如何设置TTL

Zhenghua Gao
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 潘明文 <[hidden email]> wrote:

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