They implement generally the same consumer group functionality, but the new
consumer (your option 1) is more modern, will be supported for a long time
(whereas option 2 will eventually be deprecated and removed), and has a
better implementation. The new consumer takes into account a lot of lessons
Hello,
I am a newbie to Kafka and trying to understand the difference between the
following two Kafka Consumer.
1.
KafkaConsumer pooling
http://kafka.apache.org/090/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html
>>> consumer.poll(100);
2.
ConsumerIterator and KafkaSt