Alain B. 2013-01-22, 10:51
Hari Shreedharan 2013-01-22, 18:43
Jeff Lord 2013-01-22, 18:54
Ok, I got it thank you. I'll follow your advice and go for file channels instead.
W.r.t. the interceptor, I'll implement a custom org.apache.flume.interceptor class.
Just one more question: interceptors are configured in the source configuration. But are they executed before the events are inserted in the source or when they get out of the source (before going to the channel). If it's the later case, then I suppose it's done before any selector does its job (multiplexing on the basis of a header in my specific case).
So is it :
log4jappender -> interceptor -> source -> selector -> channel
log4jappender -> source -> interceptor -> selector -> channel
> Date: Tue, 22 Jan 2013 10:54:49 -0800
> Subject: Re: Multiplexing to multiple JdbcChannel (Derby) + event header ?
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> On Tue, Jan 22, 2013 at 2:51 AM, Alain B.
> <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
> My question is: will these 2 channels store their events in separate
> derby DB by default or do I need to configure my 2 jdbc-channels with
> specific properties in order to get 2 embedded derby DB started ?
> By default they will use the same derby DB.
> You can specify the location with the following property.
> a1.channels.c1.driver.url =
> a1.channels.c2.driver.url =
> As Hari already mentioned we Highly recommend the file channel for
> durability over the jdbc channel.
Hari Shreedharan 2013-01-23, 08:05
Alain B. 2013-01-23, 08:07