The Kafka Consumer API

Introduction to Kafka consumers

Kafka consumers are responsible for reading data from one or more Kafka topics and processing it in some way. The process of consuming data from Kafka can be broken down into several distinct steps:

  1. Subscribing to topics

  2. Polling for messages

  3. Processing messages

  4. Committing offsets

Get hands-on with 1200+ tech skills courses.