This spark streaming example connects a ClientApplication to a Spark Stream. As data is written to the ClientApplication on a specific socket (9087). A Spark Stream will connect to the port and read the data word count the line entered and output the data.