Learn the vocabulary of a set of consumers sharing the work of reading a topic's partitions.
0 / 5 completed
1 / 5
At standup, a dev mentions a set of consumer instances that share the work of reading a topic's partitions, with each partition assigned to only one consumer within that set at a time. What is this set of consumers called?
A consumer group is a set of consumer instances that share the work of reading a topic's partitions, with Kafka assigning each partition to only one consumer within that group at a time, so the group as a whole processes the topic's full set of partitions in parallel without any partition being double-processed. A partition describes one of the topic's individual ordered logs, not the set of consumers reading them. This shared assignment is what lets a topic's total throughput scale by simply adding more consumers to the group, up to the number of partitions available.
2 / 5
During a design review, the team plans to add consumer instances to a group up to the number of partitions the topic has, since adding more consumers than partitions would leave some consumers with no partition assigned at all. Which capability does this reflect?
This reflects scaling consumer throughput by matching the number of consumers to the number of available partitions, since each partition can only be assigned to one consumer within the group at a time, meaning a consumer added beyond the partition count simply sits idle with nothing assigned. Assuming every added consumer always receives its own dedicated partition regardless of the topic's actual count misunderstands this hard ceiling on how far a single consumer group can scale. This is why the number of partitions a topic is created with directly caps how much parallelism a single consumer group can ever achieve for it.
3 / 5
In a code review, a dev notices a consumer instance restarting frequently due to a crash loop, and each restart triggers the whole consumer group to briefly pause while partitions are reassigned. What does this represent?
This is a consumer group rebalance triggered by a flapping consumer repeatedly joining and leaving the group, since Kafka has to reassign the affected partitions among the remaining, and then the returning, consumers every single time group membership changes. A hot partition problem is an unrelated concept about a partition key's distribution, not about consumer membership churn. Recognizing this rebalance-storm pattern in review matters because a flapping consumer can degrade the entire group's throughput, not just its own, every time it restarts.
4 / 5
An incident report shows message processing across the entire consumer group stalled repeatedly for several minutes at a time, because one consumer instance kept crash-looping and each restart triggered a full group rebalance. What practice would prevent this?
Fixing the root cause of the crash loop, combined with tuning rebalance-related settings such as a longer session timeout, addresses both why the flapping consumer keeps restarting and how sensitive the group is to a single consumer's brief absence. Leaving the crash-looping consumer running as-is is exactly what kept stalling the entire group's processing every time it restarted in this incident. This combination of root-cause fixing and rebalance tuning is the standard response once a flapping consumer has been identified as the source of repeated processing stalls.
5 / 5
During a PR review, a teammate asks why the team relies on a Kafka consumer group's automatic partition assignment instead of manually assigning specific partitions to specific consumer instances in configuration. What is the reasoning?
Manual partition assignment requires updating configuration by hand every time a consumer instance is added, removed, or fails, which doesn't scale well in a dynamic environment where instances come and go routinely. A consumer group automatically rebalances partitions across whichever consumers are currently healthy and present, adapting without any manual configuration change. The tradeoff is the brief processing pause that occurs during a rebalance itself, which manual assignment would avoid at the cost of requiring constant manual upkeep instead.
What does the "Kafka Consumer Groups Vocabulary" vocabulary exercise cover?
This exercise tests real IT vocabulary related to kafka consumer groups vocabulary through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — browse the full vocabulary exercises hub to find related modules covering adjacent IT topics and roles.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.