Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka, mail # user - Non-blocking Kafka stream iterators


+
Ryan LeCompte 2013-01-21, 03:15
Copy link to this message
-
Re: Non-blocking Kafka stream iterators
Jun Rao 2013-01-21, 06:16
Yes, see consumer.timeout.ms in http://kafka.apache.org/configuration.html

Thanks,

Jun

On Sun, Jan 20, 2013 at 7:14 PM, Ryan LeCompte <[EMAIL PROTECTED]> wrote:

> Hello all,
>
> Does Kafka still only support blocking stream iterstors? It would be great
> to pass a timeout or have a poll() operation for fetching items. Right now
> I'm always blocking in this call:
> for (m <- stream) ...
>
> Thanks!
>
> Ryan

 
+
Ryan LeCompte 2013-01-21, 06:18
+
navneet sharma 2013-01-21, 07:03
+
Jun Rao 2013-01-21, 16:06
+
Jay Kreps 2013-01-21, 17:27
+
Evan Chan 2013-01-22, 17:38
+
Jay Kreps 2013-01-22, 18:16
+
Evan Chan 2013-01-22, 18:53
+
Jay Kreps 2013-01-22, 20:47
+
Evan Chan 2013-01-22, 20:57
+
Chris Riccomini 2013-01-22, 22:35
+
Neha Narkhede 2013-01-23, 05:30
+
Ryan LeCompte 2013-01-22, 18:55