Hey Kamal,

You are correct. The append method would not spawn new threads by itself.
However, you can still override it.

On Mon, Oct 17, 2011 at 1:58 PM, Kamal Bahadur <[email protected]>wrote:

> Hi,
>
> I have written a sink for writing data into Casandra using Hector API. It
> looks like Hector does a great job of connection pooling and load balancing.
> As soon as I start the collector, I can see 16 conections being established
> between collector and cassandra. I am not sure if flume is taking advantage
> of those connections in the pool. I am assuming that, Collector's append
> method is not multi-threaded and therefore only one connection is being used
> at any point of time. Can someone confirm this?
>
> Thanks,
> Kamal
>



-- 
-Dani Abel Rayan

Reply via email to