Redis之JedisConnectionFactory通过哨兵发现master
3 月,跳不动了?>>> JedisConnectionFactory中配置了哨兵后,会自动发现master节点,它是怎么做到的呢? 注:Spring-data-redis的版本: 1.8.7.RELEASE,Jedis的版本: 2.9.0.RELEASE 1.xml配置 List-1 properties文件省略了 <bean class="redis.clients.jedis.JedisPoolConfig" id="jedisPoolConfig"> <property name="maxTotal" value="${redis.maxTotal}"/> <property name="maxIdle" value="${redis.maxIdle}"/> <property name="numTestsPerEvictionRun" value="${redis.numTestsPerEvictionRun}"/> <property name="timeBetweenEvictionRunsMillis" value="${redis.timeBetweenEvictionRunsMillis}"/> <property name="minEvictableIdleTimeMillis" value="${redis