code: public Long zremrangeByRank(final String key, final long start, final long end) {
          return this.execute(new RedisClusterCallback<Long>() {
              public Long doInRedisCluster(RedisCluster redisCluster) {
                  return redisCluster.zremrangeByRank(key, start, end);
              }
  
              public int getPartitionNumber() {
                  return GatewayPartitionNumber.get(key);
              }
  
              public AffinityState getState() {
                  return AffinityState.WRITE;
              }
          });
      }
docs: /*
  @see RedisClusterCommands#zremrangeByRank(java.lang.String, long, long)