flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dani Rayan <dani.ra...@gmail.com>
Subject Re: Cassandra Sink using Hector
Date Mon, 17 Oct 2011 23:42:26 GMT
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 <mailtokamal@gmail.com>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

View raw message