Repository navigation
Install the Scala Stream Collector
HOME > SNOWPLOW SETUP GUIDE > Step 1: setup a Collector > Scala Stream collector setup > Install the Scala Stream Collector
You will need version 7 (aka 1.7) of the Java Runtime Environment installed.
You can choose to either:
- Download the Scala Stream collector executable jarfile, or:
- Compile it from source
To get a local copy, you can download the jarfile directly from our hosted assets bucket on Amazon S3 - please see our Hosted assets page for details.
You will need to add the executable flag onto the file:
$ chmod +x snowplow-scala-collector-0.1.0
Alternatively, you can build it from the source files. To do so, you will need scala and sbt installed.
To do so, clone the Snowplow repo:
$ git clone https://github.com/snowplow/snowplow.git
Navigate into the Scala Stream collector folder:
$ cd 2-collectors/scala-stream-collector
Use sbt to resolve dependencies, compile the source, and build an assembled fat JAR file with all dependencies.
$ sbt assembly
The jar file will be saved as snowplow-scala-collector-0.1.0 in the target/scala-2.10 subdirectory - it is now ready to be deployed.
Home | About | Project | Setup Guide | Technical Docs | Copyright © 2012-2013 Snowplow Analytics Ltd
HOME > SNOWPLOW SETUP GUIDE > Collectors > Scala Stream Collector setup
- Step 2: Setup a Tracker
- [Step 3: Setup Enrich] (setting-up-enrich)
- Step 4: Setup the StorageLoader
- [Step 5: Analyze your data!](Getting started analyzing Snowplow data)
Useful resources