官网下载flink 根据官方文档进行安装 flink运行wordCount 代码在https://ci.apache.org/projects/flink/flink-docs-release-1.10/getting-started/tutorials/local_setup.html 官方教程 public static void main(String[] args) throws Exception { // the port to connect to int port; try { final Para