I tried to see implementation of circuit breaker with 3 java libraries :
- Hystrix (Deprecated, use Resilience4j)
- Resilience4j
- Microprofile fault tolerance
I implement 3 projects with the same application based on a Microprofile application
All is in this github (with more in the Readme).
jufab / hystrix-resilience4j-microprofile-fault-tolerance
Test / Lab Around Hystrix, Resilience4j and Microprofile Fault Tolerance
Hystrix - Resilience4j - Microprofile Fault Tolerance
This repository contains a test around implementation of resilience and (for the moment) around Circuit breaker.
I use 3 libraries, and I want to see implementation, configuration, complexity and result.
To help me (and for my curiosity of course ^_^), I use microprofile starter to initialise all this project.
Table of Contents
- Context
- Microprofile Starter
- Projects
- Circuit Breaker configuration
- Circuit breaker Results
- Unit Tests
Context
This is a test around this 3 libraries
- Hystrix (Deprecated : use Resilience4j Instead...)
- Resilience4j
- Microprofile Fault Tolerance
For the moment, I only use the "Circuit Breaker".
Microprofile Starter
To initialise the project, I use…
I would like to share it in order to help someone to understand how to implement it and how it works.
I hope this could help.
Top comments (0)