Spring Boot Redis Connection Pool + Cluster 설정
Spring Boot에서 Redis Cluster에 접속하는 방법을 정리한다. Spring Boot 설정 spring: redis: cluster: nodes: 1.1.1.1:1234 1.1.1.2:1234 1.1.1.3:1234 @Configuration public class RedisConfiguration { @Value("${spring.redis.cluster.nodes}") private String[] clusterNodes; /** * Jedis Connection Pool */ @Bean public JedisPoolConfig jedisPoolConfig() { return new JedisPoolConfig(); } /** * Redis Connection Factory (커넥션풀링..