Re: Cassandra default consistency level on multi datacenter

2014-11-15 Thread Adil
yes, already found...via the QueryOptions 2014-11-15 1:28 GMT+01:00 Tyler Hobbs : > Cassandra itself does not have default consistency levels. These are only > configured in the driver. > > On Fri, Nov 14, 2014 at 8:54 AM, Adil wrote: > >> Hi, >> We are using two datacenter and we want to set t

Re: Cassandra default consistency level on multi datacenter

2014-11-14 Thread Tyler Hobbs
Cassandra itself does not have default consistency levels. These are only configured in the driver. On Fri, Nov 14, 2014 at 8:54 AM, Adil wrote: > Hi, > We are using two datacenter and we want to set the default consistency > level to LOCAL_ONE instead of ONE but we don't know how to configure

Cassandra default consistency level on multi datacenter

2014-11-14 Thread Adil
Hi, We are using two datacenter and we want to set the default consistency level to LOCAL_ONE instead of ONE but we don't know how to configure it. We set LOCAL_QUORUM via cql driver for the desired queries but we won't do the same for the default one. Thanks in advance Adil