All Projects → vert-x3 → vertx-circuit-breaker

vert-x3 / vertx-circuit-breaker

Licence: Apache-2.0 license
A circuit breaker for Vert.x

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to vertx-circuit-breaker

vertx-kotlin-example
Vert.x + Kotlin example
Stars: ✭ 12 (-78.95%)
Mutual labels:  vertx
vertx-codegen
Vert.x code generator for asynchronous polyglot APIs
Stars: ✭ 95 (+66.67%)
Mutual labels:  vertx
f
a library to write async vert.x code similar as using java syntax
Stars: ✭ 22 (-61.4%)
Mutual labels:  vertx
grooveex
Extension module for vertx-groovy adding methods and syntaxic sugar
Stars: ✭ 14 (-75.44%)
Mutual labels:  vertx
vertx-mail-client
No description or website provided.
Stars: ✭ 30 (-47.37%)
Mutual labels:  vertx
slush-vertx
No description or website provided.
Stars: ✭ 36 (-36.84%)
Mutual labels:  vertx
microtrader
A fictitious stock trading microtrader application
Stars: ✭ 58 (+1.75%)
Mutual labels:  vertx
df data service
DataFibers Data Service
Stars: ✭ 31 (-45.61%)
Mutual labels:  vertx
vertx-contextual-logging
Contextual logging for Vertx applications
Stars: ✭ 19 (-66.67%)
Mutual labels:  vertx
vertx-mybatis
vertx sqlclient template using mybatis NON-BLOCK & ASYNCHRONOUS
Stars: ✭ 23 (-59.65%)
Mutual labels:  vertx
cloudopt-next-example
Example of cloudopt-next
Stars: ✭ 22 (-61.4%)
Mutual labels:  vertx
mod-tinkerpop-persistor
Vert.x 2.x Persistor Module for Tinkerpop-compatible Graph Databases
Stars: ✭ 17 (-70.18%)
Mutual labels:  vertx
vertx-graphql-utils
Vert.x GraphQL utils
Stars: ✭ 22 (-61.4%)
Mutual labels:  vertx
consul-cluster-manager
Consul - based cluster manager that can be plugged into Vert.x ecosystem.
Stars: ✭ 17 (-70.18%)
Mutual labels:  vertx
vertx-maven-plugin
Vert.x Maven Plugin - moved to https://github.com/reactiverse/vertx-maven-plugin
Stars: ✭ 28 (-50.88%)
Mutual labels:  vertx
reactiverse
The Reactiverse main entry point
Stars: ✭ 26 (-54.39%)
Mutual labels:  vertx
vxrifa
Utility library for Vert.X that allows using strong-typed interfaces in communication through EventBus
Stars: ✭ 15 (-73.68%)
Mutual labels:  vertx
vertx-mongo-client
Mongo Client for Eclipse Vert.x
Stars: ✭ 54 (-5.26%)
Mutual labels:  vertx
helloworld-web
Hello World web application in 39 different ways in Java
Stars: ✭ 18 (-68.42%)
Mutual labels:  vertx
vertx-jooq-async
Deprecated, use vertx-jooq instead:
Stars: ✭ 27 (-52.63%)
Mutual labels:  vertx

Vert.x Circuit Breaker

Build Status

Vert.x Circuit Breaker is an implementation of the Circuit Breaker pattern for Vert.x. More details on this pattern on https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern

It keeps track of the number of failures and opens the circuit when a threshold is reached. Optionally, a fallback is executed.

Supported failures are:

  • failures reported by your code

  • exception thrown by your code

  • uncompleted futures (timeout)

Operations guarded by a circuit breaker are intended to be non-blocking and asynchronous in order to benefit from the Vert.x execution model.

Using the Vert.x Circuit Breaker

To use the Vert.x Circuit Breaker, add the following dependency to the dependencies section of your build descriptor:

  • Maven (in your pom.xml):

<dependency>
  <groupId>io.vertx</groupId>
  <artifactId>vertx-circuit-breaker</artifactId>
  <version>$VERSION</version>
</dependency>
  • Gradle (in your build.gradle file):

compile 'io.vertx:vertx-circuit-breaker:$VERSION'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].