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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.