Registry / database / spring-boot-starter-data-redis-reactive

spring-boot-starter-data-redis-reactive

JSON →
library4.0.6javamavenunverified

Starter for using Redis with Spring Data Redis Reactive and the Lettuce client.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis-reactive</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-data-redis-reactive
databasejavav4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ReactiveRedisTemplate
org.springframework.data.redis.core.ReactiveRedisTemplate

Uses ReactiveRedisTemplate to store a key-value pair in Redis.

import org.springframework.data.redis.core.ReactiveRedisTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Example implements CommandLineRunner { @Autowired private ReactiveRedisTemplate<String, String> template; public static void main(String[] args) { SpringApplication.run(Example.class, args); } @Override public void run(String... args) { template.opsForValue().set("key", "value").subscribe(); } }
Debug
Known issues
breakingSpring Boot 4.0 requires Spring Framework 6.1+ and Java 17+.
fix
Use Spring Boot 3.x for Java 17 compatibility or 2.x for Java 8+.
affects: >=4.0.0
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
Amazon
1
Resources
spring-boot-starter-data-redis-reactive — mvn dependency:get spring-boot-starter-data-redis-reactive · libregistry