Spring Data for Reactive Extensions

The Spring Data projects have some extensions to work with a reactive foundation. The project provides a couple of implementations based on asynchronous programming. It means the whole stack is asynchronous since database drivers are as well.

The Spring reactive repository supports Cassandra, MongoDB, and Redis as database stores. The repository implementations offer the same behaviors as the non-reactive implementation. There is a DSL (Domain-Specific Language) to create domain-specific query methods.

The module uses the Project Reactor as a reactive foundation implementation, but is possible to change the implementation to RxJava as well. Both libraries are production-ready and are adopted by the community. ...

Get Spring 5.0 By Example 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.