Snowplow Micro is a lightweight version of the Snowplow pipeline. It’s great for:
- Getting familiar with Snowplow
- Debugging and testing, including automated testing
Just like a real Snowplow pipeline, Micro receives, validates and enriches events sent by your tracking code.
Learn more in the documentation: https://docs.snowplow.io/docs/getting-started-with-micro/basic-usage/
First, install Git, sbt and npm.
Then clone the repository and publish the Collector dependency locally:
git clone [email protected]:snowplow-incubator/snowplow-micro.git
cd snowplow-micro
git clone --branch 3.2.0 --depth 1 [email protected]:snowplow/stream-collector.git
cd stream-collector
sbt +publishLocal && cd ..
To run the tests:
sbt test
To build a Docker image for local testing:
cd ui
npm build && cd ..
sbt docker:publishLocal
Note the Docker image name in the output.
Copyright (c) 2019-present Snowplow Analytics Ltd. All rights reserved.
Licensed under the Snowplow Limited Use License Agreement. (If you are uncertain how it applies to your use case, check our answers to frequently asked questions.)