Kafka se skalira na ogromno kapaciteto (milijoni dogodkov/sek) z particioniranjem, dodajanjem brokersov in potrošnikov ter nastavljanjem. Razumevanje, kako se Kafka skalira, je pomembno za visoko-volumske namestitve.
Levers skaliranja
✓ PARTITIONS → the primary scaling unit: more partitions → more parallelism (producer and
consumer) → distribute data and load across brokers and consumers
✓ BROKERS → add brokers to the cluster → more storage, throughput, and capacity (spread
partitions across more machines)
✓ CONSUMERS → add consumers to a group (up to partition count) → parallel consumption
✓ PRODUCERS → batching, compression, multiple producers → high write throughput
→ Kafka scales HORIZONTALLY (add partitions/brokers/consumers)
