/spark-twitter-stream-example

An example with Spark streaming for my introductory talk.

Primary LanguageScala

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.