Hi, 对于第二个场景,可以尝试一下fast emit: table.exec.emit.early-fire.enabled = true table.exec.emit.early-fire.delay = 5min
PS: 1. 这个feature并没有在官方文档里面写出来,目前应该是一个实验性质的feature 2. window加了emit之后,会由原来输出append结果变成输出retract结果 Jingsong Li <[email protected]> 于2020年3月27日周五 下午2:51写道: > Hi, > > For #1: > 创建级联的两级window: > - 1分钟窗口 > - 5分钟窗口,计算只是保存数据,发送明细数据结果 > > Best, > Jingsong Lee > -- Benchao Li School of Electronics Engineering and Computer Science, Peking University Tel:+86-15650713730 Email: [email protected]; [email protected]
