String value = "key - " + i; redisTemplate.opsForHyperLogLog().add(key, value); } String key2 = "hyperloglog