~/talk

Kafka Internals I Wish I Knew Sooner

Talkat PyData Amsterdam 2025 · 2025-09-24..09-26· [kubernetes, devops-and-delivery]
links:none on file
slides:none on file

Kafka reclaims disk only when segments roll so a one‑day retention with huge segment size effectively never frees space; default retention is seven days and the broker cleanable ratio is 0.5 so compaction/cleanup often waits. Idempotent producers are default since Kafka 3.0 and transactions require acks=all plus consumer isolation read_committed but exactly-once is fragile, lowers throughput, and still fails on consumer bugs. Rolling deploys plus cooperative sticky vs range/roundrobin rebalance choices can cause endless rebalance loops; start with defaults and measure.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Why Kafka internals matter
  3. 2:55How Kafka stores data
  4. 6:11Kafka as storage layer
  5. 9:07Replication and growth complexity
  6. 10:12Retention and compaction
  7. 13:45When data is deleted
  8. 14:07Delivery guarantees
  9. 15:56Exactly once delivery
  10. 19:26Consumers in transactions
  11. 22:58Consumer group coordination
  12. 24:21Rebalancing costs
  13. 26:07Rolling upgrade hell
  14. 27:53Avoid overengineering
  15. 29:46Q&A: Alternatives
  16. 32:01Q&A: Offset polling
  17. 33:12Q&A: Startup adoption
  18. 34:39Closing
~/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.