feat: processed-event ledger, idempotent dispatch

This commit is contained in:
2026-10-26 00:17:28 +01:00
parent fa8e94817a
commit 5681d0c034
29 changed files with 610 additions and 24 deletions

View File

@@ -31,6 +31,10 @@ impl ImageConversionHandler {
#[async_trait]
impl EventHandler for ImageConversionHandler {
fn name(&self) -> &'static str {
"image_conversion"
}
async fn handle(&self, event: &DomainEvent) -> Result<(), DomainError> {
let key = match event {
DomainEvent::ImageStored { key } => key.clone(),