Kafka, mail # user - Re: Stopping thread on consumer timeout - 2014-06-30, 16:28
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
Re: Stopping thread on consumer timeout
Hi Daniel,

If you do not expect the consumer to stop due to no more data coming with a
time out exception, then you would try/catch the exception. On the other
hand, throwing the timeout exception does not necessarily stop the
background fetcher threads, if you really want to shut down the consumer
you need to use the shutdown() API.

On Sun, Jun 29, 2014 at 11:36 PM, Daniel Compton <[EMAIL PROTECTED]>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB