~/talk

Writing Stream Processors in Kotlin

Talkat KotlinConf 2018 · 2018-10-03..10-05· [databases]
links:none on file
slides:none on file

Shows migrating Kafka Streams Java code to Kotlin and claims Kotlin cuts ceremony and boosts readability using extension functions and concise closures. Demonstrates a home automation pipeline: WebSocket source → Kafka Connect → Kafka Streams that group by node ID, window 2s, count >3, emit to a notification topic, sink writes back to WebSocket to trigger lights. Uses RocksDB for local state, protobuf for payloads, and reports ~80–100 ms processing time and end-to-end under 500 ms, and that the Kotlin DSL compacts the code.

AI-written summary · about

  1. 0:00Intro
  2. 1:10Kafka
  3. 1:40Kafka Architecture
  4. 3:13Kafka Persistence
  5. 4:22Kafka Messages
  6. 6:25Event Streams
  7. 7:40Compaction
  8. 9:19Division
  9. 12:10Home Automation
  10. 13:05WebSocket
  11. 14:55Jason
  12. 15:45Serializer
  13. 17:05Extreme Person
  14. 18:30GroupBy
  15. 22:00Improvements
  16. 23:00Reusable Context
  17. 24:10Configure StreamContext
  18. 25:20StreamMotion Events
  19. 27:00Why Kotlin
  20. 27:20Engineering View
  21. 28:50Team Leads View
  22. 30:40Wrap Up
~/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.