Flink基本编程.wordcount实现思路 环境:并行度设置:读取文件: 文件中:readTextFile() 端口:socketTextStream()flatMap(): 两个泛型:输入in、输出out in.split(" ");for ( String s :arr);out.collect(tuple2.of(word ,1))注意 :tuple2.of (word,1) = new tuple2<String,Integer>(woed,1),flink为...