skip to Main Content

Unable to connect to Redis | Spring Boot

I've a redis service on upstash.io but not able to connect to it from my spring boot application This is my redis config @Configuration public class RedisConfig { @Bean public LettuceConnectionFactory redisConnectionFactory() { RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration(); redisStandaloneConfiguration.setHostName("myhost"); redisStandaloneConfiguration.setPort(6379);…

VIEW QUESTION

Redis – Delete data from cache using key prefix in Django

cache.set("determ_" + str(id), cache_object) Am working with Django cache using Redis, these are sample of my cache keys determ_1ba243f3-2eda-4feb-bf24-1aa4c0cd2171 appr_hist_2bfd55e4-22c1-4cc3-a913-8ac2cde3801b appr_act_5a18c351-e172-4369-9a4b-118c3df5b25a but i get challenge when i want to delete cache using some part of key like determ_, appr_hist_, appr_act_…

VIEW QUESTION
Back To Top
Search