/spark-twitter-streaming-java

Twitter Streaming using Spark (Java)

Primary LanguageJava

Spark Twitter Streaming Using Java

Steps to be followed to run this project :

Follow the Twitter Oauth mentioned in this site and have these credentials ready

http://ampcamp.berkeley.edu/3/exercises/realtime-processing-with-spark-streaming.html

consumerKey
consumerSecret
accessToken
accessTokenSecret
  1. Download the project as zip / clone the git and run the maven build.
  2. Open the config.properties file in this loaction : TwitterStreaming\src\main\resources\config.properties and provide the Oauth details obtained and also the output file location where the tweets are to be stored.
  3. Run the TwitterStreaming.java file.