Hi,
??????????????uv??????????????????????????????????uv????????????????????????????????????????????????????[1]?????????? [1] https://lists.apache.org/thread.html/rbe00ee38e2d07310d4e3c796de86c65205d1f5deecfc1678d9ebbdea%40%3Cuser-zh.flink.apache.org%3E ------------------ ???????? ------------------ ??????: "?g???U?[????"<[email protected]>; ????????: 2020??7??7??(??????) ????10:32 ??????: "user-zh"<[email protected]>; ????: DataStream????uv???? ???????? &nbsp; &nbsp; &nbsp;????????????????DataStream??api????????????UV??????????????2???????????? &nbsp; &nbsp; &nbsp;1????????Tumbling??????????????????????????????1????Time.days(1)??????????????????????????????????????uv???? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ????????????????????????????????trigger???????????????????????????????????????????????????? &nbsp; &nbsp; &nbsp;2????????????????????????????????state????????????????????????????????????TTL???? DataStream<UvPer10Min&gt; uvPer10MinDataStream = userBehaviorSource .windowAll(TumblingProcessingTimeWindows.of(Time.days(1L))) .trigger(CountTrigger.of(1L)) .evictor(CountEvictor.of(0L, true)) .process(new ProcessAllWindowFunction<UserBehavior, UvPer10Min, TimeWindow&gt;() { private transient MapState<String, String&gt; userIdState; private transient ValueState<Long&gt; uvCountState; &nbsp; &nbsp; ?????? Jiazhi
