Pipeline Components and Applications

  1. Home
  2. Docs
  3. Pipeline Components and Applications
  4. Iglu
  5. Iglu Repositories
  6. JVM Embedded Repo

JVM Embedded Repo

A JVM-embedded repo is an Iglu repository embedded inside a Java or Scala application, typically alongside the Scala client.

Technical architecture

A JVM-embedded repo is simply a set of schemas stored in an Iglu-compatible path inside the resources folder of a Java or Scala application.

As an embedded repo, there is a no mechanism for updating the schemas stored in the repository following the release of the host application.

Example

For an example of a JVM-embedded repo, check out the repository embedded in the Iglu Scala client itself:

https://github.com/snowplow/iglu-scala-client/tree/0.1.0/src/main/resources/iglu-client-embedded

This embedded repository is used to bootstrap the Iglu Scala client with JSON Schemas that it needs before it can access any remote repositories.

Setup

For help setting up a JVM-embedded repository see the JVM embedded repo setup wiki page.