Skip to content

xjrk58/sbt-schemaregistry

 
 

Repository files navigation

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:

resolvers += Resolver.bintrayIvyRepo("mkroli", "sbt-plugins")

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

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%