fit51 / reactive-config   0.5.1

GitHub

A Scala configuration library with reloading functionality. Pieces of configuration are reactive variables, that compose a change propagation graph.

Scala versions: 2.13 2.12

reactive-config

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 combine and map Reloadables to construct change-propagation graphs.

Library is implemented for both ZIO and cats-effect stacks and supports number of configuration back ends:

Quickstart with sbt

libraryDependencies ++= Seq(
    "com.github.fit51" %% "reactiveconfig-circe" % version
    "com.github.fit51" %% "reactiveconfig-etcd-zio" % version,
    "com.github.fit51" %% "reactiveconfig-typesafe-zio" % version
)

Examples

See examples here.

Note

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.