spring - How to get all Keys from Redis using redis template - Stack Overflow
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?
Read full article from spring - How to get all Keys from Redis using redis template - Stack Overflow
No comments:
Post a Comment