Hi, Yes, if you use ProcessFunction or CoProcessFunction you can (and should) set a timer to clean up state.
Best, Aljoscha > On 7. May 2017, at 09:28, yunfan123 <yunfanfight...@foxmail.com> wrote: > > But what happened if some data can't be merged forever ? > The state will be saved forever? > Can I set a timeout? > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ConnectedStream-keyby-issues-tp12999p13037.html > Sent from the Apache Flink User Mailing List archive. mailing list archive at > Nabble.com.