Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default consistency level in spring-data-cassandra?

If I don't set any read/write consistency level at all in my spring-data-cassandra project, what will be my consistency level for reads? What about writes?

(I asked this question here, but the Google Group is now locked)

like image 312
Ztyx Avatar asked Oct 16 '25 13:10

Ztyx


1 Answers

The default consistency level used by the driver, if not set, is one. Since spring-data-cassandra, as they claim is:

Based on the latest DataStax Enterprise CQL Java Driver

the default CL is one.

like image 74
Carlo Bertuccini Avatar answered Oct 18 '25 13:10

Carlo Bertuccini



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!