Using asynchronous drivers (Cassandra)

We have described how the reactive Mongo repository is built on top of the reactive driver. Now, let's look at how the reactive Cassandra repository adapts the asynchronous driver.

Similarly to ReactiveMongoRepository, reactive Casandra connector gives us the ReactiveCassandraRepository interface, which also extends the more generic ReactiveCrudRepository. The ReactiveCassandraRepository interface is implemented by SimpleReactiveCassandraRepository, which, in turn, uses the ReactiveCassandraOperations interface for low-level operations. ReactiveCassandraOperations is implemented by the ReactiveCassandraTemplate class. Of course, ReactiveCassandraTemplate may be used directly in the application, similar ...

Get Hands-On Reactive Programming in Spring 5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.