Skip to main content

Module compensation

Module compensation 

Source
Expand description

Compensation lifecycle artifacts: plans and execution receipts for reversing or mitigating effects.

When an effect fails or needs rollback, a compensation plan defines the recovery steps, and a compensation execution receipt records their outcome.

Structsยง

CompensationExecutionReceiptV1
Receipt recording the outcome of executing a compensation plan, including completed and failed steps.
CompensationExecutionReceiptV1Builder
Builder for CompensationExecutionReceiptV1.
CompensationPlanV1
Plan describing the compensation steps required to reverse or mitigate a failed effect.
CompensationPlanV1Builder
Builder for CompensationPlanV1.