Member-only story
Reactive REST API with Spring WebFlux and Spring Data Cassandra
In this story, we’ll implement a sample REST API that uses Spring Webflux with Spring Data Cassandra.
Prerequisites
This is the list of all the prerequisites:
- Spring Boot 2.7.0
- Gradle
- Java 17
- Docker installed
- Docker compose is installed
- Cassandra
- Postman
Overview
What is Apache Cassandra?
Apache Cassandra is an open source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.
Cassandra keyspaces
A keyspace is the top-level database object that controls the replication for the object it contains at each datacenter in the…