window wordcount aggregations on streaming text sources
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src/main
.gitignore
README.md
build.sbt
screenshot.png

README.md

window-wordcount-streams

Displaying top tweeting users from sample twitter stream in fixed-tweets-number window.

alt tag

Setup

Log in to twitter, go to https://apps.twitter.com/.

Create an application, copy consumer key and consumer secret.

Create access token for your account, copy access token and access token secret.

Copy src/main/resources/application.conf.template to src/main/resources/application.conf and fill in above keys/tokens/secrets.

Run with sbt "run twitter web"

Open localhost:9000/index.html in browser

Optionally, specify window size, like this: sbt "run twitter web 20000" (default is 5000)