摘要: 1、主类 package towStream /** * @program: demo * @description: ${description} * @author: yang * @create: 2020-12-31 11:39 */ import org.apache.flink.api. 阅读全文
posted @ 2021-01-04 18:54 小白啊小白,Fighting 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package towStream /** * @program: demo * @description: ${description} * @author: yang * @create: 2020-12-31 11:39 */ import org.apache.flink.api. 阅读全文
posted @ 2021-01-04 18:52 小白啊小白,Fighting 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package towStream /** * @program: demo * @description: ${description} * @author: yang * @create: 2020-12-31 11:39 */ import org.apache.flink.api. 阅读全文
posted @ 2021-01-04 11:50 小白啊小白,Fighting 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 知识点: 如果同一批流中有多个相同的id,Flink的双流Join是左连接形式 参考博客: https://blog.csdn.net/dafei1288/article/details/98919202 https://cloud.tencent.com/developer/article/159 阅读全文
posted @ 2021-01-04 11:26 小白啊小白,Fighting 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 知识点: 一致性:https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/connectors/guarantees.html env.setStateBackend( new FsStateBackend("hdfs://u 阅读全文
posted @ 2021-01-04 10:48 小白啊小白,Fighting 阅读(966) 评论(0) 推荐(0) 编辑
摘要: 知识点: Flink 为算子状态(operator state)提供三种基本数据结构:  列表状态(List state): 将状态表示为一组数据的列表。  联合列表状态(Union list state): 也将状态表示为数据的列表。它与常规列表状态的区别在于,在发生故障时,或者从保 存点(s 阅读全文
posted @ 2021-01-04 10:47 小白啊小白,Fighting 阅读(2071) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package com.example.demo.flink; import com.example.demo.flink.impl.CountAverageWithAggregateState; import com.example.demo.flink.impl.CountAverag 阅读全文
posted @ 2021-01-04 10:45 小白啊小白,Fighting 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package com.example.demo.flink; import com.example.demo.flink.impl.CountAverageWithMapState; import com.example.demo.flink.impl.CountAverageWithR 阅读全文
posted @ 2021-01-04 10:43 小白啊小白,Fighting 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package com.example.demo.flink; import com.example.demo.flink.impl.CountAverageWithMapState; import com.example.demo.flink.impl.CountAverageWithV 阅读全文
posted @ 2021-01-04 10:41 小白啊小白,Fighting 阅读(6754) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package com.example.demo.flink; import com.example.demo.flink.impl.CountAverageWithListState; import com.example.demo.flink.impl.CountAverageWith 阅读全文
posted @ 2021-01-04 10:39 小白啊小白,Fighting 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 1、主类 package com.example.demo.flink; import com.example.demo.flink.impl.CountAverageWithValueState; import org.apache.flink.api.common.functions.FlatM 阅读全文
posted @ 2021-01-04 10:38 小白啊小白,Fighting 阅读(318) 评论(0) 推荐(0) 编辑