I have been stuck with this problem with quite some time.I want to get keys from redis using redis template.
I tried this.redistemplate.keys(\"*\");
but this doesn\'t fetch
It did work, but seems not recommended? Because we can't use Keys command in production. I assume RedisTemplate.getConnectionFactory().getConnection().keys is calling redis Keys command. What are the alternatives?