{"id":54520,"library":"spring-data-redis","title":"Spring Data Redis","description":"Spring Data Redis provides easy configuration and access to Redis from Spring applications, supporting both synchronous and reactive operations.","status":"active","version":"4.0.5","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-data-redis","tags":["spring","redis","data","cache","nosql"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework.data</groupId>\n  <artifactId>spring-data-redis</artifactId>\n  <version>4.0.5</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework.data:spring-data-redis:4.0.5'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"RedisTemplate","correct":"org.springframework.data.redis.core.RedisTemplate"}],"quickstart":{"code":"import org.springframework.data.redis.core.RedisTemplate;\nimport org.springframework.data.redis.connection.jedis.JedisConnectionFactory;\n\npublic class Main {\n    public static void main(String[] args) {\n        JedisConnectionFactory factory = new JedisConnectionFactory();\n        factory.afterPropertiesSet();\n        RedisTemplate<String, String> template = new RedisTemplate<>();\n        template.setConnectionFactory(factory);\n        template.afterPropertiesSet();\n        template.opsForValue().set(\"key\", \"value\");\n        String result = template.opsForValue().get(\"key\");\n        System.out.println(\"Value: \" + result);\n    }\n}","lang":"java","description":"Configures a RedisTemplate with Jedis connection factory and performs a basic set/get operation."},"warnings":[{"fix":"Ensure your project uses Spring Boot 3.x or compatible Spring Framework version.","message":"Spring Data Redis 4.x requires Spring Framework 6.x and Java 17+.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'access':11 'applic':16 'cach':26 'configur':9 'data':2,5,25 'easi':8 'nosql':27 'oper':22 'provid':7 'reactiv':21 'redi':3,6,13,24 'spring':1,4,15,23 'support':17 'synchron':19","created_at":"2026-06-15T09:10:25.363253+00:00","updated_at":"2026-06-15T09:10:25.363253+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://spring.io/projects/spring-data-redis","github":"https://github.com/spring-projects/spring-data-redis","docs":"https://appdoc.app/artifact/org.springframework.data/spring-data-redis/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}