~/talk

State or Events? Which Shall I Keep?

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [frontend-architecture]
speakerdeck:pillopl
slides:none on file

Live-codes an event-sourced credit-card aggregate (behaviors → events) and proves it works end-to-end: commands emit LimitAssigned, CardWithdrawn, CardRepaid events, events buffer in an in-memory stream then publish to Kafka, a Kafka Streams job folds them into a snapshot in a Kafka Streams state store (read via REST), and a scheduler simulates traffic — the demo runs. Uses Java + Spring Kafka/Kafka Streams; warns about event versioning, eventual consistency and exactly-once tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Overview
  3. 2:13Object Selection
  4. 3:17Environments
  5. 6:45Implement
  6. 10:55Events
  7. 12:35Query
  8. 17:25Finding Events
  9. 23:58Event Streams
  10. 27:58Folding State
  11. 31:43Creating Handlers
  12. 34:18Kafka
  13. 36:58Demo
  14. 42:38Kafka Streams
  15. 44:13Kafka Snapshot
  16. 50:53Credit Card Controller
  17. 55:18Event Store
  18. 56:53State vs Events
~/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.