????????
??????????????metric????????recordsIn>recordsOut
??????????????????window??????processfunction??????????????filter??????
??????????
.window(TumblingEventTimeWindows.of(org.apache.flink.streaming.api.windowing.time.Time.minutes(1)))
.process(new ProcessWindowFunction<Row, Row, Integer, TimeWindow>() {
@Override
public void process(Integer integer, Context context, Iterable<Row>
elements, Collector<Row> out) {
for (Row element : elements) {
out.collect(element);
}
}
})
------------------ ???????? ------------------
??????: "jingjing bai"<[email protected]>;
????????: 2019??12??24??(??????) ????9:18
??????: "user-zh"<[email protected]>;
????: Re: ????flink??????????????????????
??????????????????????????metircs????????????????
1530130567 <[email protected]> ??2019??12??24?????? ????8:46??????
> ????????????
> &nbsp; ??????????flink stream api??????????????????????????ETL????
> &nbsp;
????????????????1??????tumble??????watermark??10s??????????????????????????????????????????????????????
> &nbsp; ????????????????topic 5000/s,??????????????topic????4000/s
> &nbsp;
>
????????????????????????????????????????????????????????????????????????????????????????????????????processfunction????????????
> &nbsp; ps????????????????????????