ગ્રાહક જૂથો એ 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)
