如何在Windows Eclipse IDE中运行Flink应用程序?我们可以在Eclipse中注册tomcat服务器时配置Flink运行时环境吗?
Apache flink can be added as a dependency to the project, and can be imported in any IDE .
Here is an example for maven :
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>1.8.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.12</artifactId>
<version>1.8.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
If you also would like to see the running job's dag on web ui, you can add this depdendency, and goto http://localhost:8081 .
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime-web_2.12</artifactId>
<version>1.8.0</version>
<scope>test</scope>
</dependency>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.