Before the start with the setup/ installation of Apache Flink, let us check whether we have Java 8 installed in our system.
Java – version
We will now proceed by downloading Apache Flink.
wget http://mirrors.estointernet.in/apache/flink/flink-1.7.1/flink-1.7.1-bin-scala_2.11.tgz
Now, uncompress the tar file.
tar -xzf flink-1.7.1-bin-scala_2.11.tgz
Go to Flink”s home directory.
cd flink-1.7.1/
Start the Flink Cluster.
./bin/start-cluster.sh
Open the Mozilla browser and go to the below URL, it will open the Flink Web Dashboard.
http://localhost:8081
This is how the User Interface of Apache Flink Dashboard looks like.
Now the Flink cluster is up and running.