Skip to content

Implement Circuit Breaker Pattern for External API Calls #289

Description

@Pidoko257

Description

Enhance the existing circuit breaker implementation to support more granular failure detection and state management across all external service integrations (providers, payment gateways, compliance services).

Acceptance Criteria

  • Circuit breaker tracks per-endpoint failure rates
  • Automatic state transitions (closed → open → half-open)
  • Metrics exposed for monitoring
  • Configurable thresholds and reset times
  • Graceful degradation when circuit open

Implementation Notes

  • Review current opossum configuration
  • Add per-endpoint configuration
  • Implement state machine for transitions
  • Add Prometheus metrics export

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions