Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between simple consumer and high level consumer?

Tags:

apache-kafka

What is the difference between simple consumer and high level consumer in Apache Kafka? I could not understand from the plenty of definitions available on internet.

like image 622
Murthy Avatar asked Jul 17 '15 18:07

Murthy


1 Answers

The high level consumer can manage things like offset commits and rebalancing across consumer instances in a consumer group automatically.

Using the simple consumer you have to manage partition subscription, broker leader changes and offset commits yourself. The concept of a consumer group does not exist for the simple consumer API.

like image 94
Lundahl Avatar answered Sep 28 '22 07:09

Lundahl