Spring Data 2020.0 - New and Noteworthy in Spring Data for Apache Cassandra 3.1
Spring Data 2020.0.0
ships with Spring Data for Apache Cassandra 3.1. This release ships with numerous enhancements that refine existing functionality and introduce support for selected Cassandra 4 features:
- Reactive auditing
- Reactive SpEL support in
@Query
query methods. - Configuration of the keyspace per
Statement
throughCqlTemplate
andQueryOptions
. - Revised
CqlOperations
with newqueryForStream(…)
methods returning aStream
with transparent pagination. DataClassRowMapper
to map Cassandra results to data classes via constructor creation/bean properties
Reactive Auditing
Reactive auditing is enabled by annotating your configuration class with @EnableReactiveCassandraAuditing
. Registering a bean that implements ReactiveAuditorAware
…