Redis – Modify @Cacheable spring annotation to use a secondary cacheManager for writing values to cache
I am connecting to Google Cloud Platform memorystore Redis with Read replica enabled. It exposes 2 endpoints: Primary for writing to Redis Cache Read Replica for reading from Redis Cache I have created 2 Cache managers to connect to these…