Resilience4j · Example Payload

Resilience4J Circuit Breaker Config Example

Spring Boot application.yml configuration for a circuit breaker protecting an external payment service

BulkheadCircuit BreakerFault ToleranceJavaMicroservicesRate LimiterResilienceRetrySpring BootFunctional Programming

Resilience4J Circuit Breaker Config Example is an example object payload from Resilience4j, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionlanguageexamplenotes

Example Payload

resilience4j-circuit-breaker-config-example.json Raw ↑
{
  "title": "Resilience4j Circuit Breaker Configuration Example",
  "description": "Spring Boot application.yml configuration for a circuit breaker protecting an external payment service",
  "language": "yaml",
  "example": {
    "resilience4j": {
      "circuitbreaker": {
        "configs": {
          "default": {
            "slidingWindowType": "COUNT_BASED",
            "slidingWindowSize": 10,
            "minimumNumberOfCalls": 5,
            "failureRateThreshold": 50,
            "slowCallRateThreshold": 100,
            "slowCallDurationThreshold": "2s",
            "waitDurationInOpenState": "30s",
            "permittedNumberOfCallsInHalfOpenState": 3,
            "automaticTransitionFromOpenToHalfOpenEnabled": true
          }
        },
        "instances": {
          "paymentService": {
            "baseConfig": "default",
            "failureRateThreshold": 30,
            "waitDurationInOpenState": "60s",
            "recordExceptions": [
              "java.io.IOException",
              "java.util.concurrent.TimeoutException"
            ],
            "ignoreExceptions": [
              "com.example.BusinessException"
            ]
          }
        }
      }
    }
  },
  "notes": "The paymentService instance inherits from the default config but overrides failure threshold and wait duration. IOException and TimeoutException are recorded as failures; BusinessException is ignored."
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/resilience4j-circuit-breaker-config-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.