add flink commands
This commit is contained in:
parent
96bf3cdaa5
commit
93ce11e990
@ -7,3 +7,8 @@
|
|||||||
- [Data Sink 介绍](https://www.zeekling.cn/articles/2020/05/04/1588666906660.html)
|
- [Data Sink 介绍](https://www.zeekling.cn/articles/2020/05/04/1588666906660.html)
|
||||||
- [自定义Data Sink](https://www.zeekling.cn/articles/2020/05/05/1588680092763.html)
|
- [自定义Data Sink](https://www.zeekling.cn/articles/2020/05/05/1588680092763.html)
|
||||||
- [Flink 写入数据到 Kafka](https://www.zeekling.cn/articles/2020/05/15/1589474545288.html)
|
- [Flink 写入数据到 Kafka](https://www.zeekling.cn/articles/2020/05/15/1589474545288.html)
|
||||||
|
|
||||||
|
|
||||||
|
## flink 命令
|
||||||
|
|
||||||
|
- [flink命令详解](command/flink_command.md)
|
||||||
|
19
command/flink_command.md
Normal file
19
command/flink_command.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
## 简介
|
||||||
|
|
||||||
|
记录flink经常使用命令。
|
||||||
|
|
||||||
|
## 样例运行
|
||||||
|
### batch样例
|
||||||
|
#### 运行WordCount样例
|
||||||
|
|
||||||
|
```sh
|
||||||
|
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样例
|
||||||
|
```sh
|
||||||
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user