In this section we will code and deploy our first Spark Streaming job in Scala and Java.
Our streaming job will connect to a specific port number and will receive or capture data at regular intervals. It will evaluate and calculate the count of distinct words in the data received. Lastly, it will print this on the console.
The Spark Streaming example shown in subsequent sections is comprised of two distinct parts:
Let's move forward and see the code for the ...