September 2017
Beginner to intermediate
360 pages
8h 13m
English
Flink provides a streaming API called Flink DataStream API to process continuous unbounded streams of data in realtime.
To start using Datastream API, you should add the following dependency to the project. Here, we are using sbt for build management.
org.apache.Flink" %% "Flink-scala" % "1.0.0
In the next few steps, we will create a word count program which reads from a socket and displays the word count in realtime.
val environment = StreamExecutionEnvironment.getExecutionEnvironment
Read now
Unlock full access