Uploaded image for project: 'Spring Data Redis'
  1. Spring Data Redis
  2. DATAREDIS-71

upgrade jedis to 2.0.0 and support redis.clients.jedis.ShardedJedisPool for sharding

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0.M3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      currenttly JedisConnectionFactory doesn't support sharding actually,sharding need a list of JedisShardInfo not a single JedisShardInfo.

      add:
      public void setShards(List<JedisShardInfo> shards);
      public void setHashingAlgo(Hashing hashingAlgo);

      jedisPool = new ShardedJedisPool(poolConfig,shards,hashingAlgo);
      jedis = new ShardedJedis(shards,hashingAlgo);

      remove:
      public void setShardInfo(JedisShardInfo shardInfo);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thomasd Thomas Darimont
                Reporter:
                quaff Yanming Zhou
                Last updater:
                Mark Paluch
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: