2015-06-23 31 views

回答

0
spring: 
    profiles: live 
    redis: 
     sentinel: 
      master: 
      nodes: 
     host: 192.168.1.1000 
     port: 6379 
     password: 
     pool: 
      max-wait: -1 
      max-active: -1 
      max-idle: -1 
      min-idle: 16 

你也可以使用Spring工具套件,它有YAML性能不錯的自動完成;)