StreamingMessageListener-ApacheSpark Using Apache Spark, it analyzes the message sentences entered simultaneously over port 8005, separates them into words and finds the number of words. To listen on port 8005 netcat download and windows command line : nc -l localhost -p 8005 then you can write your messages