code: public <K, V> StatefulRedisSentinelConnection<K, V> connectSentinel(RedisCodec<K, V> codec, RedisURI redisURI) {
  
          assertNotNull(redisURI);
  
          return getConnection(connectSentinelAsync(codec, redisURI, redisURI.getTimeout()));
      }
docs: Open a connection to a Redis Sentinel using the supplied {@link RedisURI} and use the supplied {@link RedisCodec codec}
  to encode/decode keys and values. The client {@link RedisURI} must contain one or more sentinels.
  
  @param codec the Redis server to connect to, must not be {@literal null}
  @param redisURI the Redis server to connect to, must not be {@literal null}
  @param <K> Key type
  @param <V> Value type
  @return A new connection