Hi I am trying to connect Redis cluster using ioredis node module, my app is getting started and there is no connection error but my data is not published to Redis channel. Below is the code snippet of connection
var redis = require("ioredis")
publisher = new redis.Cluster(redisPort,redisHost);
publisher.publish(channel, data);
what am i doing wrong here?