reactive-config is a configuration library for Scala.
It provides functionality to get pieces of config, that reload. The piece of configuration is called
Reloadable. You can
Reloadables to construct change-propagation graphs.
Library is implemented on top of Monix Observable and supports number of configuration back ends:
- Typesafe-config - HOCON file.
- Etcd - Distributed reliable key-value store, that supports monitoring changes to keys.
Quickstart with sbt
libraryDependencies ++= Seq( "com.github.fit51" %% "reactive-config-circe" % "0.1.0-alpha2", "com.github.fit51" %% "reactive-config-etcd" % "0.1.0-alpha2" )
See examples here.
Run "sbt etcd/generateSources" to generate etcd GRPC services and move them to source directory.
Library is in development.
It was originally created in private Bitbucket repository. Now, library is moved to GitHub with most of commits squashed due to some reasons.