skip to Main Content

How to connect AWS Elasticache Redis cluster to Spring Boot app?

I have Spring Boot app which connects to Redis cluster, using Jedis Connection Factory: RedisClusterConfiguration redisClusterConfiguration = new RedisClusterConfiguration(redisProperties.getCluster().getNodes()); redisClusterConfiguration.setPassword(redisProperties.getPassword()); jedisConnectionFactory = new JedisConnectionFactory(redisClusterConfiguration); and reading list of nodes from application.yml: spring: redis: host: 127.0.0.1 port: 6379 timeout: 300s cluster:…

VIEW QUESTION
Back To Top
Search