大数据
逆风而已
这个作者很懒,什么都没留下…
展开
-
Flink-AsyncIO思考
// This example implements the asynchronous request and callback with Futures that have the// interface of Java 8's futures (which is the same one followed by Flink's Future)/** * An implementation of the 'AsyncFunction' that sends requests and sets t.原创 2020-10-16 10:18:12 · 269 阅读 · 0 评论 -
Flink之源码分析工具篇(二)
题外话,工欲善其事必先利其器,源码分析中对类的继承关系、自身属性方法、方法调用过程的了解是最基础的。然而,无图无真相,等你从代码中跳来跳去,跳来跳去后,你突然发现你陷进去了。。。尴尬不尴尬,来上图!ps:需要idea商业版,社区版不支持一、继承和类自身属性方法---使用类图右键要查看的类名即可。二、方法调用栈--时序图安装SequenceDiagram插件如下图,在想要看的方法处,右键点击Sequence Diagram即可结果为下图,整个方法内部的调用栈清晰的展原创 2020-09-10 18:16:58 · 160 阅读 · 0 评论 -
Flink之源码本地构建(一)
1、准备工作:windows10 + java8 + maven3.1.1 + idea14特别的,maven版本为官方推荐的,试了其他版本,未能成功构建。2、从git clone源码,不再赘述https://github.com/apache/flink.git3、右键源码根目录4、时间大概需要半小时,耐心等待,可以去喝杯茶或者撸点代码...5、wordcount小例子跑起来,开始源码之旅~FAQ:1·、org.apache.flink.sql.parser..原创 2020-09-10 11:29:17 · 647 阅读 · 0 评论