brew install reids
reids-server
redis-cli
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
spring:
redis:
host: localhost
port:6379
password:
database: 1
pool:
max-active :8
max-wait: -1
max-idle: 500