Flink 面试题总结及答案

基础

state的分类
key state和operate state
state 的重分布

Flink状态管理详解:Keyed State和Operator List State深度解析 - 掘金

checkpoint 和save point

https://zhuanlan.zhihu.com/p/79526638

 flink job 的容错策略

如果在没有持续消息输出的情况下,如何定时输出

主要是现实有可能不会一直有消息输入,但是要定时输出的情况

  @Override
    public void processElement(
            Tuple2 value, 
            Context ctx, 
            Collector> out) throws Exception {

        // retrieve the current count
        CountWithTimestamp current = state.value();
        if (current == null) {
     

你可能感兴趣的:(Flink,入门到实践,flink,大数据)