492 B
492 B
简介
记录flink经常使用命令。
样例运行
batch样例
运行WordCount样例
cd /home/zeek/software/flink-1.12.5/examples/batch
/home/zeek/software/flink-1.12.5/bin/flink run WordCount.jar --input /tmp/word.txt --output /tmp/out.txt
sream样例
运行stream WordCount样例
cd /home/zeek/software/flink-1.12.5/examples/streaming
/home/zeek/software/flink-1.12.5/bin/flink run WordCount.jar --input /tmp/word.txt --output /tmp/out.txt