const client = new Redis.Cluster(redisConnection, {
redisOptions: {
keyPrefix: 'eran:'
},
keyPrefix: 'eran:' // known issue that keyPrefix inside redisOptions is not working
})
client.call('set', 'x1', '1') -> will save 'eran:x1' with value '1'
client.call('SET', 'x1', '1') -> will save 'x1' with value '1'
TNX