1. Overview

This article is a practical introduction to working with Cassandra with Spring Data.

We’ll start the from the basics and go through the configurations and coding, finally building up a complete Spring Data Cassandra module.

2. Maven Dependencies

Let’s start by defining the dependencies in the pom.xml, with Maven:






3. Configuration for Cassandra

We’ll use the Java style of configuration throughout this quite to configure the Cassandra integration.

3.1. The Main Config

Let’s start with the main configuration class – of course driven via the class level @Configuration annotation:

Read Full Article Here