sbt-schemaregistry

Overview

sbt-schemaregistry fetches Avro schemas from a Schema Registry and generates source code accordingly. The plugin is based on sbt-avro.

Usage

Installation

Add the plugin according to sbt-documentation.

For instance, add the following lines to the file project/plugins.sbt in your project directory:

addSbtPlugin("com.github.mkroli" % "sbt-schemaregistry" % "0.3")

Settings

AvroConfig / schemaRegistryUrl := "http://localhost:8081"

AvroConfig / schemaRegistrySubjects := Seq(
  "topic-key",
  "topic-value"
)

License

sbt-schemaregistry is licensed under the Apache License, Version 2.0.