~/talk

Patterns and anti-patterns for production ready Kafka Streams apps

Talkat Berlin Buzzwords 2022 · 2022-06-12..06-14· [data-engineering]
links:none on file
slides:none on file

Covers concrete, actionable patterns: use the Topology Test Driver and Testcontainers for unit and integration tests; prefer mapValues/flatMapValues so key stays stable and avoid extra repartition subtopologies; store state locally in RocksDB with Kafka changelogs and enable standby replicas to cut failover time. Recommends Avro/Protobuf, tune batch.size and linger.ms, pick compression (lz4/snappy), set num.stream.threads, monitor JMX metrics, name processors, handle deserialization/production errors, and add a shutdown hook.

AI-written summary · about

  1. 0:00Introduction to Kafka Streams
  2. 1:03What is Kafka Streams
  3. 2:47Kafka Streams architecture
  4. 4:52Streams and state stores
  5. 8:20Operations in Kafka Streams
  6. 10:05Word count example
  7. 12:57Kafka Streams tasks and partitions
  8. 17:30Production readiness dimensions
  9. 18:34Testing Kafka Streams apps
  10. 20:40Scaling Kafka Streams
  11. 24:09Producer and consumer tuning
  12. 25:55Stateful app optimizations
  13. 27:20Monitoring and observability
  14. 28:46Naming processing steps
  15. 30:09Ensuring high availability
  16. 33:44Exception handling
  17. 35:11Shutdown hooks and cleanup
  18. 35:31Q&A session
~/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.