- Make sure oracle JDK is installed (1.6+): https://help.ubuntu.com/community/Java#Oracle_Java_7
- Add the DataStax repository key to your aptitude trusted keys.
$ curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
- Install Cassandra:
sudo apt-get update && sudo apt-get install cassandra
- Create keyspace and tables:
cqlsh run commands from src/main/resources/createDatabase.txt
- Open a terminal window, navigate to pom.xml directory (project root)
- Execute the following command:
mvn clean compile assembly:single
- In target/, a runnable jar tsfc.jar is created
java -jar tsfc.jar <<comma separated list of topics to watch (without whitespace)>>