Author: Henrique Kops
Basic spark streaming word count application using TCP data ingestion.
Learn more about spark streaming
Build project using sbt:
$ sbt packageFor local testing use two terminals
NetCat to listen port 9999:
$ nc -lk 9999
hey hey hey dude
...
^C
$Start processing:
$ ./run
...
^C
$Output:
-------------------------------------
Time: 1601390430000 ms
-------------------------------------
(hey,3)
(dude,1)