code: public <K, V> StatefulRedisConnection<K, V> connect(RedisCodec<K, V> codec) {
  
          checkForRedisURI();
  
          return getConnection(connectStandaloneAsync(codec, this.redisURI, timeout));
      }
docs: Open a new connection to a Redis server. Use the supplied {@link RedisCodec codec} to encode/decode keys and values.
  
  @param codec Use this codec to encode/decode keys and values, must not be {@literal null}
  @param <K> Key type
  @param <V> Value type
  @return A new stateful Redis connection