RMapReactive is a reactive variant of the Redisson framework's map interface, providing asynchronous and non-blocking operations for handling key-value pairs in Redis. It offers efficient and scalable methods for storing and retrieving data, making it ideal for real-time applications.
In this project, we will see how to integrate the city api to store their information in redis and benefit from it using RMapReactive to ensure efficient and scalable data management.
- Spring WebFlux
- WebClient
- Redisson "Redis"
- Lombok
- Client
- Configration
- Controller
- Model
- Service
<dependencies>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>3.20.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>