Cassandra Spring Boot Properties

Apache Cassandra is a provider of Spring Boot Data for handling NoSQL database operations. Apache Cassandra is a NoSQL distributed database for managing large amounts of data across many servers (clusters) while providing high availability at the cost of decreased consistency. Cassandra high availability is achieved by replicating data to multiple nodes over cluster and allow one or more nodes to go down so that transaction will continue till that point even one server is running.

To use Apache Cassandra in your Spring boot application you have to add this Cassandra starter in your pom.xml .


After adding Cassandra Database starter in your application it will automatically download and add the required dependencies in your application and initialize with default values. You can overwrite these values through / application.yaml .

Cassandra Configuration Properties

Spring Boot load these properties in CassandraProperties class.

NameDefault ValueDescription Cassandra cluster Name. Compression supported by the Cassandra binary protocol. Socket option: connection time out. Queries consistency level. cluster node addresses. Queries default fetch size. Keyspace name to use. Class name of the load balancing policy. Port of the Cassandra server. Login password of the server. Socket option: read time out. Reconnection policy class. Enable Cassandra repositories. Class name of the retry policy. Queries serial consistency level. action to take at startup. SSL support. Login user of the server.
Cassandra Spring Boot Properties


Happy Learning !!!