Skip to content

Add a method for opening the circuit breaker for a specified time #1590

Open
@JasonMathison

Description

@JasonMathison

If our hystrix encapsulated request receives a 503 with a Retry-After header or a 429 rate limiting response it would seem ideal to be able to programmatically open the circuit for a specified time based on the response from the external service.

Our service could do this with the forceOpen configuration option, however it would be up to us to create a timer to manually close the circuit again. Having Hystrix handle this natively would create a lot less complexity for consumers of the service.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions