विभाजनहरू Kafka को डिजाइनको केन्द्रबिन्दु हुन् — तिनीहरूले समानता र स्केलेबिलिटा सक्षम गर्छन् (डेटा र खपत वितरण गरेर) जबकि प्रत्येक विभाजन भित्र अर्डरिङ ग्यारान्टी प्रदान गर्छन्। विभाजनहरूलाई बुझ्नु Kafka कसरी स्केल गर्छ र घटनाहरूलाई कसरी अर्डर गर्छ भनेर बुझ्नको लागि महत्त्वपूर्ण छ।
विभाजनहरूले समानता र स्केल सक्षम गर्छन्
A topic is split into multiple PARTITIONS, distributed across brokers:
→ data is spread across partitions → distribute storage and load
→ CONSUMER PARALLELISM → each partition consumed by one consumer in a group →
more partitions = more parallel consumers = higher throughput
→ scale a topic by adding partitions (and consumers)
→ partitions are the unit of PARALLELISM and horizontal scaling in Kafka
