The CircuitBreaker
is used to provide stability and prevent cascading failures in distributed systems.
To use circuit in an existing SBT project with Scala 2.11 or a later version, add the following dependencies to your
build.sbt
depending on your needs:
libraryDependencies ++= Seq(
"io.chrisdavenport" %% "circuit" % "<version>"
)