We recently chose to use Amazon elastic cache redis in our application, while going through the documentation some things are not clear.
1) Cluster mode disabled cluster for Redis has Primary endpoint in the AWS console of cluster, when we connect to primary endpoint with jedis client, does this primary endpoint distribute the read traffic to the read replicas of the cluster? or the application explicitly have to connect to read replicas in the cluster? Eg. Jedis client
2) Cluster mode enabled for redis has Configuration endpoint in the AWS console of Redis, so when we connect to this Configuration endpoint with a client does the configuration endpoint distribute the write and read traffic between the shards in the cluster? or the application has to connect to each shard explicitly using JedisCluster object passing the shard's primary endpoint?
3) For Cluster mode enabled for Redis, how does the elastic cache split the keys across shards?