Priority¶
fr.capellegab.api.event.Priority
Enum of priority levels for events and modules.
Definition¶
Values¶
| Value | Description | Use case |
|---|---|---|
LOW |
Low priority | Logs, non-critical metrics |
MEDIUM |
Standard priority | Common events |
HIGH |
High priority | Financial transactions, sensitive actions |
CRITICAL |
Critical priority | Fraud alerts, security incidents |
Dual usage¶
Priority is used in two places:
- On an
Event— indicates the event's urgency - On a
ModuleConfig— indicates the module's processing priority (aCRITICALmodule is executed before aLOWmodule)