title: Connecting to Redis Cluster from Spring Boot caching abstraction
body: <p>I am using Spring Boot with Caching abstraction support to connect to redis-server for storing/fetching data for caching.</p>
  
  <p>I use the below properties for connecting to redis-server.</p>
  
  <pre><code>spring.redis.host=localhost
  spring.redis.port=6379
  spring.redis.password=mypassword
  spring.cache.type=redis
  </code></pre>
  
  <p>I am able to successfully connect to redis server and store/fetch data.</p>
  
  <p>For high availability,it is decided to use 3 nodes , 1 master and 2 slave nodes for redis server.</p>
  
  <p>In that case, I am not sure how to provide the configuration to connect to redis cluster from my spring boot application.</p>
  
  <p>Are there any properties supported by spring boot to connect to redis cluster.</p>
  
  <p>I am using out-of-box support of spring caching abstraction with support for annotation <strong>@cacheable.</strong></p>
  
  <p>I have the below 2 dependencies added to my pom.xml
  <strong>spring-boot-starter-cache</strong> and <strong>spring-boot-starter-data-redis</strong>
  and also using <strong>spring boot 1.5.13.</strong></p>
  
  <p>Is there support for connecting to redis cluster when using spring caching abstraction in spring boot.</p>