一、 Redis Maven 引用
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-redis</artifactId><exclusions><exclusion> <!-- redis的客户端驱动,使用redisclients代替这个模块 --><groupId>io.lettuce</groupId><artifactId>lettuce-core</artifactId></exclusion></exclusions></dependency><dependency><groupId>redis.clients</groupId><artifactId>jedis</artifactId><version>2.8.1</version></dependency>
二、Redis 认知
Redis是一种运行在内存的键值数据库,而且是以字符串存储为中心的。当前支持的多种数据类型包括:字符串,散列,链表,集合与有序集合,基数与地理位置。

