flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Lord <jl...@cloudera.com>
Subject Re: Multiplexing to multiple JdbcChannel (Derby) + event header ?
Date Tue, 22 Jan 2013 18:54:49 GMT
On Tue, Jan 22, 2013 at 2:51 AM, Alain B. <aladdin_1973@hotmail.com> 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.

View raw message