flink 编译
· 2 min read
背景
了解flink的使用
编译
下载代码:
git clone https://github.com/apache/flink.git
cd flink
## 编译
./mvnw -Drat.skip=true -DskipTests=true package
启动
## 切换目录
cd build-target
## 启动
./bin/start-cluster.sh
## 执行例子
./bin/flink run ./examples/batch/WordCount.jar
## 打开网站
http://127.0.0.1:8081/#/overview
输出
./bin/flink run ./examples/batch/WordCount.jar