If you have studied the docs yet, you should, as this is a broad question which needs background to understand the answer.
But in summary, the high-level Consumer does more for you, and importantly, provides balancing between Consumers. The SimpleConsumer does less for you, but gives you more control. A common pattern when first working with Kafka is to develop your systems using the HighLevel Consumer and then, once you understand Kafka better, move to a SimpleConsumer-based design for more control (if you determine you need it -- the HighLevel Consumer is enough for many, if not most, people). Philip ----------------------------------------- http://www.philipotoole.com On Wednesday, August 20, 2014 8:35 AM, pankaj ojha <pankajojh...@gmail.com> wrote: Hi All, My requirement is to consume data from kafka using consumer. Which should be better to use? SimpleConsumer or HighLevel Consumer? Thanks, Pankaj Ojha