A Kafka a hatalmas átviteli sebességet (millió esemény/sec) a particionálás, a brokerek és fogyasztók hozzáadása, valamint a tuning révén skálázza. Annak megértése, hogy a Kafka hogyan skálázódik, fontos a nagy volumenű telepítésekhez.
Skálázási mechanizmusok
✓ 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)
