关于springboot使用redis,连接池的疑问

之前看学习视频说使用redis需要导入这两个依赖,第二个是连接池用到的,但是最近发现公司的项目里并没有导入commons-pool2依赖,
我发现点进spring-boot-starter-data-redis里发现使用的lettuce-core(老版本用的jedis),再点进lettuce-core发现里面已经有了commons-pool2依赖,就很疑惑,到底需不需要像下图中导入第二个依赖呢?

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-pool2</artifactId>
        </dependency>