Anatomy of a Flink Program
Flink program programs look like regular program that transform
collection of data.
Each program consists of the same basic parts:
1.Obtain an execution environment.
2.Load/Create the initial data.
3.Specify transformations on this data.
4.Specify where to put the result of your computations
5.Trigger the program execution
==================================================================================================
1.The StreamExecutionEnvironment:
getExecutionEnvironment()
createLocalEnvironment()
createRemoteEnvironment(host: String, port: Int, jarFiles: String)
2.Load/Create source data
val env = StreamExecutionEnvir
Flink学习笔记 --- Basic Concepts整理笔记
最新推荐文章于 2024-08-08 23:46:05 发布