kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yagnik Suchak <yagn...@gmail.com>
Subject Understanding Consumer Pooling vs Streaming
Date Tue, 05 Jul 2016 18:59:23 GMT
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 KafkaStream

https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example


I found the following discussion but if someone can provide more
information on the same would be of great help.

http://grokbase.com/t/kafka/users/15btnmvm43/0-9-0-client-streaming-vs-polling


Please let me know if any additional details are required from my end.

Thanks in advance,
Yagnik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message