~/talk

How to Manage State in Apache Kafka

Talkat JAX London 2019 · 2019-10-07..10-10· [databases]
links:none on file
slides:none on file

Uses Kafka for transport and storage but finds the event log is not a substitute for a state store, so the team cycles through approaches: reading the log from start (unworkable at scale), caching (loses durability), sending full-state messages (durable but causes 9 MB messages and heavy CPU work), and early Kafka Streams tests (rebalance recovery problems). Final solution combines a database-backed golden copy with CDC from DB to publish lightweight triggers; services see up to 40 minutes startup reduced to seconds.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:03William Hill use case
  3. 6:56State in event logs vs databases
  4. 9:27Golden copy of state necessity
  5. 11:55Abramson’s law of event logs
  6. 13:03Event log as state store myth
  7. 16:33Problems with caching and metadata
  8. 17:15Full state messages approach
  9. 21:57Drawbacks of full state messages
  10. 22:18Attempt with Kafka Streams
  11. 24:25Return to state stores
  12. 27:57State store ownership models
  13. 30:22Change data capture pattern
  14. 33:13Hardware limitations impact
  15. 37:52Cultural lessons and ops collaboration
  16. 38:54Summary and key takeaways
~/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.