~/talk

Top 10 Event-Driven Architecture Pitfalls

Talkat Spring I/O 2026 · 2026-04-13..04-15· [microservices, distributed-systems]
slides:none on file

Workshop-sourced checklist from 150 companies that names concrete pitfalls and fixes: use Kafka partitioning to preserve per-aggregate order (watch hot-partition skew—one case hits 80% of traffic), prefer optimistic locking over heavy select‑for‑update to avoid lost updates, never ack before processing (threads, CompletableFuture queues and Kubernetes kills cause silent loss), prefer an outbox pattern + Debezium over “send then commit”, handle duplicates as the top failure mode, test with Mockito spy/timeout and drain topics to avoid flakiness.

AI-written summary · about

  1. 0:00Why EDA is overhyped
  2. 1:10Pitfall one: EDA when not needed
  3. 3:00Sequential processing and race conditions
  4. 5:09Testing consumers with shared topics
  5. 9:21Producer testing and message leaks
  6. 10:23Lost updates from concurrent processing
  7. 13:12Ordering issues and partitioning
  8. 17:23Hot partitions and Kafka solutions
  9. 19:04Sequence numbers and delayed retries
  10. 20:32Early acknowledgments and backpressure
  11. 24:05Antisocial modeling and state transfer
  12. 26:35Race conditions in callbacks
  13. 28:47Producer validation and transaction safety
  14. 31:21Transactional listeners and outbox pattern
  15. 35:40Outbox table and CDC for delivery
  16. 37:32Duplicate messages and idempotency
  17. 40:50Events versus commands
  18. 41:54Passive aggressive events
  19. 43:40Poison pills and broker storms
  20. 45:26Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.