rwadurian/backend/services/mining-admin-service/prisma/migrations
hailin 577f626972 fix(cdc): implement idempotent consumer pattern for reliable CDC sync
- Use (sourceTopic, eventId) as composite unique key in processed_events
- Add sourceTopic to ServiceEvent for globally unique idempotency key
- Wrap all handlers with withIdempotency() for duplicate event detection
- Fix ID collision issue between different service outbox tables

This implements the industry-standard CDC exactly-once semantics pattern.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 13:31:10 -08:00
..
0001_init refactor(prisma): consolidate migrations into single init files 2026-01-12 11:04:24 -08:00
0002_fix_processed_event_composite_key fix(cdc): implement idempotent consumer pattern for reliable CDC sync 2026-01-12 13:31:10 -08:00
migration_lock.toml fix: add migration_lock.toml for prisma migrations 2026-01-12 08:09:34 -08:00