• Christoph Strobl's avatar
    Add support for Redis Sentinel configuration · c8a48914
    Christoph Strobl authored
    Spring Data Redis 1.4.0 introduced Redis Sentinel support. When
    specified, RedisConnectionFactory uses the Sentinel configuration to
    determine the current master.
    
    Sentinel configuration can be specified using two new properties:
    spring.redis.sentinel.master and spring.redis.sentinel.nodes.
    
    For example:
    
    spring.redis.sentinel.master=mymaster # name of redis server
    spring.redis.sentinel.nodes=127.0.0.1:26379,127.0.0.1:26380
    
    Alternatively, a bean of type RedisSentinelConfiguration can be declared
    and it will be used to configure the connection factory.
    
    Note: At this time, Sentinel support is only available for Jedis
    
    Closes gh-1337
    c8a48914
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...