Like Kafka producer, Kafka also provides a rich set of APIs to develop a consumer application. In previous sections of this chapter, you have learned about internal concepts of consumer, working of consumer within a consumer group, and partition rebalance. We will see how this concept helps in building a good consumer application.
- Consumer configuration
- KafkaConsumer object
- Subscription and polling
- Commit and offset
- Additional configuration