From the course: Spring Data
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Spring Data reactive repositories - Spring Tutorial
From the course: Spring Data
Spring Data reactive repositories
- [Instructor] Spring Boot provides two web to data technology stacks. The original servlet stack provides synchronous blocking IO with one thread per API request. The other is a reactive stack, which provides non-blocking IO that leverages multi-core processors to handle several concurrent connections for multithreading. Repositories we've been using thus far are blocking and are part of the servlet stack, as well as, Spring Data REST and Spring MVC. Reactive repositories only work with the underlying data stores that support non-blocking IO drivers such as Mongo, Cassandra, Redis, Couchbase and R2DBC. In this video we will see how to convert our MongoDB Spring Boot application into a Spring Boot microservice that implements a reactive stack with RESTful endpoints. So I am in the 06_03b branch of our code in the college project and we have to modify the pom.xml of this project. So first thing we need to do is remove the spring data starter rest. We need to remove that. We also need…