Hi!
I'm trying to connect to a valkey cluster on Elasticache I've just created. I'm currently testing it using ECS, with this code: (pardon the obvious Redis references)
`const IORedis = require('iovalkey');
const redisConfig = {
enableAutoPipelining: true
};
if (config.useRedisTLS) {
redisConfig.tls = {};
}
return new IORedis.Cluster(
[
{
port: redisPort,
host: redisUrl
}
],
{
maxRedirections: 3,
//https://github.com/redis/ioredis?tab=readme-ov-file#read-write-splitting
scaleReads: 'slave', //master,all,slave
redisOptions: redisConfig
}
);`
redisPort is an integer. redisUrl comes from "Configuration endpoint" in Elasticache, minus the port. Am I doing anything wrong?
Hi!
I'm trying to connect to a valkey cluster on Elasticache I've just created. I'm currently testing it using ECS, with this code: (pardon the obvious Redis references)
`const IORedis = require('iovalkey');
const redisConfig = {
enableAutoPipelining: true
};
redisPort is an integer. redisUrl comes from "Configuration endpoint" in Elasticache, minus the port. Am I doing anything wrong?