This readme outlines how we set up Flink for our testing environment.
The tests we used for Flink's batch processing was the sample WordCount program, bundled with the downloadable Flink archive.
The tests we used for Flink's realtime processing was the sample WordCount program, which listens to a port for input, and counts the words it receives.
-
Install Flink dependencies
Java (at time of initial setup, our version was "1.8.0_151")
sudo apt-get install default-jdk
-
Download Flink binaries into
~/flink
directory (we tested on version 1.3.2)cd ~ mkdir flink cd flink wget http://<flink download link>/flink-1.3.2-bin-hadoop27-scala_2.11.tgz
-
Extract the files
tar -xzvf flink-1.3.2-bin-hadoop27-scala_2.11.tgz
Instructions can be found at FlinkFiles/batch.md.
Instructions can be found at FlinkFiles/stream.md.