~/talk

(Spring) Kafka - one more arsenal in a distributed toolbox

Talkat Spring I/O 2018 · 2018-05-24..05-25· [distributed-systems]
links:none on file
slides:none on file

Shows a real migration to Kafka with Spring Kafka and embedded Kafka for testing, using KafkaTemplate, @KafkaListener, KafkaMessageListenerContainer, KafkaTransactionManager and Spring-Kafka-test. Describes an event store of ~30 billion messages, 3 million reads per second and >500k writes/sec, explains zero-copy gains on Linux, log-structured storage, partition rebalancing, headers/typeId message conversion, how a chained JPA+Kafka transaction behaves (and why it's brittle), and demos that the setup works at scale.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42About me
  3. 1:20Lego
  4. 2:17Kafka overview
  5. 3:59Kafka guarantees
  6. 7:31What is Kafka
  7. 8:50Challenges
  8. 10:00Opportunity
  9. 12:32Kafka embrace immutability
  10. 14:23Kafka log structure
  11. 14:52Zero copy operation
  12. 16:58Multiple machines
  13. 17:42Fast writes
  14. 18:36Resilience
  15. 19:51Spring Kafka
  16. 21:40Demo
  17. 29:10Demo breakdown
  18. 29:30Kafka consumer factory
  19. 35:44Kafka listener
  20. 36:44Kafka consumer
  21. 40:44KafkaListener
  22. 42:44Message Converter Beam
  23. 43:44Type ID
  24. 44:44Cancel Exclusion
  25. 45:44Chain Transaction Manager
  26. 46:44Order Service
  27. 47:44Thread of Sleep
  28. 48:44Uncommitted Messages
  29. 49:44Santu
  30. 50:44EventListener
  31. 52:44Replay Time
~/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.