Record - http : CircuitBreakerInferredConfig

Derived set of configurations from the CircuitBreakerConfig.

Fields

  • failureThreshold float (default 0.0)
  • The threshold for request failures. When this threshold exceeds, the circuit trips. The threshold should be a value between 0 and 1

  • resetTimeInMillis int (default 0)
  • The time period(in milliseconds) to wait before attempting to make another request to the upstream service

  • statusCodes boolean[] (default [])
  • Array of HTTP response status codes which are considered as failures

  • noOfBuckets int (default 0)
  • Number of buckets derived from the RollingWindow

  • rollingWindow RollingWindow (default {})
  • The http:RollingWindow options provided in the http:CircuitBreakerConfig