[ https://issues.apache.org/jira/browse/FLINK-10996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766862#comment-16766862 ]
aitozi commented on FLINK-10996: -------------------------------- [~tzulitai] I'm OK. And with the remind of [~dawidwys], may be his previous solution is better , which unify the process model of eventtime and processing time and also fix this problem, I will close this issue. > Enable state ttl in cep > ----------------------- > > Key: FLINK-10996 > URL: https://issues.apache.org/jira/browse/FLINK-10996 > Project: Flink > Issue Type: Improvement > Components: CEP > Affects Versions: 1.7.1 > Reporter: aitozi > Assignee: aitozi > Priority: Major > Labels: pull-request-available > Fix For: 1.8.0 > > Time Spent: 10m > Remaining Estimate: 0h > > In flink cep, although the within clause can clean up the data when data is > expire. But If the specific key data never come again, the partial matched > data will not be deleted again which will lead to the state leak. With the > state ttl feature support by flink runtime, we has the ability to expire the > correlative data asyncly . -- This message was sent by Atlassian JIRA (v7.6.3#76005)