उपभोक्ता गट हे Kafka चे स्केलेबल, फॉल्ट-टॉलरंट उपभोग यंत्रणा आहेत — गटातील उपभोक्ता विषयाच्या विभागांचा उपभोग करण्याचे काम सामायिक करतात, स्वयंचलित पुनर्संतुलनासह. स्केलेबल Kafka उपभोक्ता बांधण्यासाठी त्यांची सखोल समज महत्वाची आहे.
उपभोक्ता गट कार्य कसे वितरित करतात
A CONSUMER GROUP = consumers cooperating to consume a topic:
→ each PARTITION is assigned to exactly ONE consumer in the group (at a time)
→ partitions are distributed across the group's consumers → PARALLEL consumption
→ e.g. 6 partitions, 3 consumers → 2 partitions each
→ scale consumption by adding consumers (UP TO the partition count — extra consumers idle)
