Big data Flink advanced (6): Flink entry case

Flink entry case

Requirements: Read the local data file and count the number of occurrences of each word in the file.

1. IDEA Project creation and configuration

In this case, the choice of languages ​​for writing Flink code is Java and Scala, so here we create a directory through IntelliJ IDEA, including the Java project module and the Scala project module, and implement the Flink Java api and Flink Scala api in different project modules. Proceed as follows:

1. Open IDEA and create an empty project

Guess you like

Origin blog.csdn.net/xiaoweite1/article/details/129560835