Kafka विभाजनातील क्रमवारीकरण हमी देते परंतु विभाजनांच्या आरपार नहीं — हे एक महत्वाचे संकल्पना आहे। संबंधित इव्हेंट्सचे क्रमवारीकरण मिळविण्यासाठी, आप त्यांना समान विभाजनात मार्गस्थ करा (समान कुंजीद्वारे). क्रमवारीकरण समजून घेणे शुद्धता साठी महत्वाचे आहे.
विभाजन-प्रति क्रमवारीकरण
Kafka guarantees:
✓ ORDER WITHIN a partition → events in a partition are strictly ordered (by offset);
consumers read them in order
✗ NO order ACROSS partitions → events in different partitions have no relative order
guarantee (they're processed in parallel by different consumers)
→ this is a FUNDAMENTAL Kafka property (and a common source of misunderstanding)
