/resilience4j-sandbox

Sandbox application to test capabilities of Resilience4J

Primary LanguageJava

Resilience4J sandbox

Tests Gitmoji

This application is a sandbox to test capabilities of Resilience4J.

It relies on calls to Cat Facts API.

Structure

Modules

Usage

Start application with one of the following profiles depending on the implementation of the REST client you want to use:

  • basic
  • spring-reactor
  • spring-boot-2

Call http://localhost:8080/random from your browser. A random cat fact is expected to be displayed.

Call http://localhost:8080/actuator/ to access Actuator endpoints. For instance:

  • http://localhost:8080/actuator/metrics/resilience4j.circuitbreaker.calls
  • http://localhost:8080/actuator/metrics/resilience4j.circuitbreaker.state
  • http://localhost:8080/actuator/metrics/resilience4j.circuitbreaker.failure.rate