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

Switch to Threaded View
Flume >> mail # user >> starting a thread in the customized sink ?

Copy link to this message
Re: starting a thread in the customized sink ?
Thanks for answering my question.

No, the transaction will not be shared by different threads.  The transaction is committed after I convert the events to some data structure.

I would only have a Timer/Executor thread that fires off at specific intervals to send these converted data structures (from events) to customized storage/consumer for processing.

Do you see an issue with this approach ?


On Aug 24, 2014, at 9:59 PM, Hari Shreedharan <[EMAIL PROTECTED]> wrote: