spring:
  data:
    mongodb:
      uri: mongodb://mongo-db-auth:27015/db
resilience4j.circuitbreaker:
  instances:
    findAllAccount:
    registerHealthIndicator: true
    ringBufferSizeInClosedState: 5
    ringBufferSizeInHalfOpenState: 3
    waitDurationInOpenState: 10s
    failureRateThreshold: 50
resilience4j.bulkhead:
  instances:
    bulkheadfindAllAccount:
      maxWaitDuration: 2ms
      maxConcurrentCalls: 20
resilience4j.thread-pool-bulkhead:
  instances:
    bulkheadfindAllAccount:
      maxThreadPoolSize: 1
      coreThreadPoolSize: 1
      queueCapacity: 1
resilience4j.retry:
  instances:
    retryFindAllAccount:
      maxRetryAttempts: 5
      waitDuration: 10000

eureka:
  client:
    service-url:
      defaultZone: http://eureka-service:8761/eureka/