This is an example of code using spring data redis.