Flink1.14版本DataSet已废弃,Streaming和Batch统一改用DataStream
目录1.Streaming模式1.1代码Demo1.2flinkrun命令2.Batch模式2.1代码Demo2.2flinkrun命令1.Streaming模式1.1代码DemopackageapiTestimportorg.apache.flink.api.common.RuntimeExecutionModeimportorg.apache.flink.api.common.function