Pipeline Components and Applications

  1. Home
  2. Docs
  3. Pipeline Components and Applications
  4. Iglu
  5. Iglu Clients
  6. Scala client

Scala client

Overview

The Scala client is an Iglu client and schema resolver implemented in Scala.

Setting up the Scala client to use from your own code is straightforward.
For actual examples of initialization you can look at Scala client page.

Integration options

To minimize jar bloat, we have tried to keep external dependencies to a minimum. The main dependencies are on Jackson and JSON Schema-related libraries.

Setup

Hosting

The Scala client is published to Snowplow’s hosted Maven repository, which should make it easy to add it as a dependency into your own Java app.

The current version of the Scala client is 1.0.2.

SBT

Add this to your SBT config:

// Dependency val igluClient = "com.snowplowanalytics" %% "iglu-scala-client" % "1.0.2"
Code language: JavaScript (javascript)

Gradle

Add into build.gradle:

dependencies { ... // Iglu client compile 'com.snowplowanalytics:iglu-scala-client:0.4.0' }
Code language: JavaScript (javascript)

Now read the Scala client API to start using the Scala client.