Working with RailsEventStore in Cashflow Management System
summary
A RailsEventStore-backed cashflow app stores incoming bank webhooks as events and publishes them to Sidekiq/Postgres queues, letting handlers replay failures and backfill data; one incident reveals 700 missing transactions caused by soft-delete logic, fixed by replaying events and adding tests. Order issues lead to an aggregate that rejects older timestamps and a process stream that enforces rule→account→auto classification order. The team ships a pragmatic event-driven CRUD hybrid, uses migration events for backfills, and sees fewer data-corruption incidents in production.
AI-written summary · about
