-Re: Multiplexing to multiple JdbcChannel (Derby) + event header ?
Jeff Lord 2013-01-22, 18:54
On Tue, Jan 22, 2013 at 2:51 AM, Alain B. <[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 = jdbc:derby:/var/run/flume-ng/channel1/
a1.channels.c2.driver.url = jdbc:derby:/var/run/flume-ng/channel2/
As Hari already mentioned we Highly recommend the file channel for
durability over the jdbc channel.