005. Kafka Theory. Consumers & Consumer Groups - MarkHuntDev/my-kafka-exercises GitHub Wiki
Consumers
- Consumers read data from a topic (identified by name)
- Consumers know which broker to read from
- In case of broker failures, consumers know how to recover
- Data is read in order within each partitions
Consumer Groups
- Consumers read data in consumer groups
- Each consumer within a group reads from exclusive partitions
- If you have more consumers than partitions, some consumers will be inactive
Consumer Groups. What if too many consumers?
- If you have more consumers than partitions, some consumers will be inactive