Spring Data provides a familiar and consistent Spring-based programming model for data access. It makes it easy to use data access technologies, including NoSQL and SQL databases. Since Spring Framework 5, Spring Data provides reactive capabilities based on the Reactor framework.
We learned how to use the Reactor Framework in Chapter 4, Creating Reactive Microservices, you may need to review it again in order to fully understand this chapter.
Currently, the Spring Data reactive implementation supports only NoSQL databases and we can choose between MongoDB, Cassandra, or Redis. In this section, we will learn how we can set up a project that uses Spring Data to connect to our MongoDB server.