Install the Scala Stream Collector - OXYGEN-MARKET/oxygen-market.github.io GitHub Wiki

HOME » SNOWPLOW SETUP GUIDE » Step 1: setup a Collector » Setting up the Scala Stream Collector » Install the Scala Stream Collector

1. Dependencies

You will need version 7 (aka 1.7) of the Java Runtime Environment installed.

2. Installing the executable jarfile

You can choose to either:

  1. Download the Scala Stream collector executable jarfile, or:
  2. Compile it from source

2.1 Download the executable jarfile

To get a local copy, you can download the jarfile directly from our hosted assets bucket on Amazon S3 - please see Section 6 in our Hosted assets page for details.

2.2 Compile from source

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.[version].0 in the target/scala-2.10 subdirectory - it is now ready to be deployed.

Next: Configure the Scala Stream Collector

⚠️ **GitHub.com Fallback** ⚠️