how to configure redis ttl with spring boot 2.0
You can use @TimeToLive
annotation (mentioned in section 8.7 of the documentation. It can be applied to either a property or a method, (should not be applied to both for the same class)
You can use @TimeToLive
annotation (mentioned in section 8.7 of the documentation. It can be applied to either a property or a method, (should not be applied to both for the same class)