#spring: # redis: # host: localhost # port: 6379 resilience4j: ratelimiter: instances: mpesaLimiter: limit-for-period: 10 limit-refresh-period: 1s timeout-duration: 0s retry: instances: mpesaRetry: max-attempts: 3 wait-duration: 2s retry-exceptions: - org.springframework.web.reactive.function.client.WebClientRequestException - java.io.IOException ignore-exceptions: - com.test.payment.exceptions.MpesaPermanentException circuitbreaker: instances: mpesaCircuitBreaker: sliding-window-size: 10 permitted-number-of-calls-in-half-open-state: 3 failure-rate-threshold: 50 wait-duration-in-open-state: 10s spring: datasource: url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE driverClassName: org.h2.Driver username: sa password: password platform: h2