Skip to content

005. Kafka Theory. Consumers & Consumer Groups

Rinat Zalyaletdinov edited this page Feb 1, 2019 · 1 revision

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

Clone this wiki locally