用Flink对keyed state 状态的代码进行设置TTL(过期时间)和hdfs的checkpoints恢复和配置Flink-conf.yaml
依赖org.apache.flinkflink-core1.8.1org.apache.flinkflink-clients_2.111.8.1org.apache.flinkflink-scala_2.111.8.1org.apache.flinkflink-streaming-scala_2.111.8.1org.slf4jslf4j-log4j121.7.26org.apache.hadoo