Spring Data Reactive Redis
Spring Data Redis provides an easy way to interact with the Redis Server from Spring Boot Apps. The project is part of the Spring Data family and provides high-level and low-level abstractions for the developers.
The Jedis and Lettuce connectors are supported as a driver for this project.
The project offers a lot of features and facilities to interact with Redis. The Repository
interfaces are supported as well. There is a CrudRepository
for Redis like in other implementations, Spring Data JPA, for example.Â
The central class for this project is the RedisTemplate
which provides a high-level APIÂ to perform Redis operations and serialization support. We will use this class to interact with set data structures on Redis.
The Reactive implementation is supported by this project, these are important characteristics for us because we are looking for Reactive implementations.
Configuring the ReactiveRedisConnectionFactory
To configure the ReactiveRedisConnectionFactory
, we can...