Skip to content

henriquekops/BasicSparkStreaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicSparkStreaming

Author: Henrique Kops

Basic spark streaming word count application using TCP data ingestion.

Learn more about spark streaming

Build

Build project using sbt:

$ sbt package

Usage

For local testing use two terminals

Source terminal

NetCat to listen port 9999:

$ nc -lk 9999
hey hey hey dude
...
^C
$

Stream processing terminal

Start processing:

$ ./run
...
^C
$

Output:

-------------------------------------
Time: 1601390430000 ms
-------------------------------------
(hey,3)
(dude,1)

About

Basic spark streaming application for ingesting TCP data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published