Expand description
Application layer - orchestration of domain logic.
This layer coordinates the domain logic and manages the runtime behavior:
- Suppression registry (storage of event states)
- Rate limiter (decision making)
- Summary emitter (periodic summaries)
§Ports
The application layer defines ports (traits) that infrastructure adapters must implement. This keeps the application layer independent from infrastructure details.
Modules§
- circuit_
breaker - Circuit breaker for fail-safe rate limiting.
- emitter
- Summary emission for suppressed events.
- limiter
- Rate limiter coordination logic.
- metrics
- Observability metrics for rate limiting.
- ports
- Ports (interfaces) for the application layer.
- registry
- Central registry for tracking event suppression state.