1.安装flink,启动flink
文档地址:Apache Flink 1.3-SNAPSHOT 中文文档: Apache Flink 中文文档
代码:GitHub - apache/flink: Apache Flink
2. 打开端口 端口号, 启动jar
### 切换到flink 目录bin下
[root@localhost ~]# cd /home/flink/flink-1.14.4/bin/
### 运行
[root@localhost bin]# ./start-cluster.sh###开启端口9000
nc -l 9000
#### 运行jar./bin/flink run /home/flink/flink-1.14.4/examples/streaming/SocketWindowWordCount.jar --port 9000
3.测试jar,输入字符