nuaimat / spark-twitter-stream-example

An example with Spark streaming for my introductory talk.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter example

A few lines of code to demo how streaming works. To make it work on your machine, be sure to add a twitter4j.properties under src/main/resources that includes the following information:

oauth.consumerKey=***
oauth.consumerSecret=***
oauth.accessToken=***
oauth.accessTokenSecret=***

Visit apps.twitter.com to get your own API keys.

About

An example with Spark streaming for my introductory talk.


Languages

Language:Scala 100.0%