~/talk

Beginners guide to balance your data across Apache Kafka partitions

Talkat Voxxed Days Luxembourg 2023 · 2023-06-21..06-22· [data-engineering]
slides:none on file

Explains how Kafka decides partition placement (explicit partition, key hashing, and sticky partitioner), shows that sticky reduces latency ~50% and CPU 5–15% in benchmarks, and gives a calculation: required partitions ≈ required consumer throughput ÷ single-consumer capacity (example 1 GB/s ÷ 100 MB/s → 10 partitions). Describes causes of hot partitions (bad keys, batching/linger misconfiguration), monitors like consumer lag and under‑replicated partitions, and fixes: add partitions, custom partitioner, or create/migrate to a new topic.

AI-written summary · about

  1. 0:00Introduction to Kafka partitions
  2. 5:04Calculating partition count
  3. 13:15Default partitioner behavior
  4. 22:55Risks of unbalanced partitions
  5. 30:09Key selection for even distribution
  6. 37:46Monitoring and fixing skew
  7. 41:21Key takeaways and Q&A
~/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.