Run 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 » Configure the Scala Stream Collector » Run the Scala Stream Collector

Running

The Scala Stream Collector is an executable jarfile which should be runnable from any Unix-like shell environment. Simply provide the configuration file as a parameter:

$ ./snowplow-stream-collector-0.[version].0 --config my.conf

This will start the collector as a HTTP service and write serialized Thrift records to either stdout or Kinesis, depending on your configuration.

Healthcheck

Pinging the collector on the /health path should return a 200 OK response:

$ curl http://localhost:8080/health

All done?

You have setup the Scala Stream collector! You are now ready to setup a tracker.

Return to the setup guide.

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