Flink 基础
1、项目构建
– linux 下构建
mvn archetype:generate
-DarchetypeGroupId=org.apache.flink
-DarchetypeArtifactId=flink-walkthrough-datastream-scala
-DarchetypeVersion=1.12.0
-DgroupId=frauddetection
-DartifactId=frauddetection
-Dversion=0.1
-Dpackage=vip_flink
-DinteractiveMode=false
mvn archetype:generate \
-DarchetypeGroupId=org.apache.flink \
-DarchetypeArtifactId=flink-walkthrough-datastream-scala \
-DarchetypeVersion=1.12.0 \
-DgroupId=frauddetection2 \
-DartifactId=frauddetection3 \
-Dversion=0.1 \
-Dpackage=spendreport \
-DinteractiveMode=false
– win 下构建 scala版flink 项目
mvn archetype:generate -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-walkthrough-datastream-scala -DarchetypeVersion=1.12.0 -DgroupId=frauddetection1 -DartifactId=frauddetection2 -Dversion=0.1 -Dpackage=vip_flink -DinteractiveMode=false
mvn archetype:generate -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-walkthrough-datastream-scala -DarchetypeVersion=1.12.0 -DgroupId=frauddetection -DartifactId=vip_flink -Dversion=0.1 -Dpackage=vip_flink -DinteractiveMode=false
mvn archetype:generate -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-walkthrough-datastream-scala -DarchetypeVersion=1.12.0 -DgroupId=moyu -DartifactId=moyu_flink -Dversion=0.1 -Dpackage=moyu -DinteractiveMode=false
– win 下构建 java版flink 项目
mvn archetype:generate -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-walkthrough-datastream-java -DarchetypeVersion=1.12.0 -DgroupId=moyu -DartifactId=flink_01 -Dversion=0.1 -Dpackage=moyu -DinteractiveMode=false