SpringBoot整合Redis-Cluster集群

1.添加相关依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2.添加redis配置 # Redis服务器地址 #spring.redis.host=10.100.50.23 #
相关文章
相关标签/搜索