Event-Driven Architecture Traps
summary
Lists five practical failure modes and fixes for event-driven systems: treating a notification as a throwable command (store a dangling charging stop and reconcile later), baking computed values into events so tax logic avoids branching (example: 15% to 16%), avoiding synchronous external calls that queue 10,000 retries by emitting tax-rate change events or using circuit breakers, handling DB+Kafka atomicity with at-least-once patterns or transaction log tailing, and evolving events via upcasting, dual-write or copy-and-replace rather than mutating the event log.
AI-written summary · about
