...

/

Consumer and Consumer Groups

Consumer and Consumer Groups

This lesson explains the concepts of consumers and consumer groups in Kafka.

We'll cover the following...

Consumers, or readers, receive messages from Kafka topics. The class that represents the consumer concept is KafkaConsumer. Consumers subscribe to topics, then receive messages that producers write to a topic. Typically, each consumer belongs to a consumer group. A single producer or multiple producers may write messages ...