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 #
相關文章
相關標籤/搜索