In the caching module we refactored the conditionals to limit the auto configuration. Due to this the implementation of the CachingConfigurer (to get a custom CacheErrorHandler) needed a dependency on RedisConnectionFactory or else it wouldn't be able to be post processed (due to the CachingConfigurer being needed in a MeterRegistryAutoConfiguration).
This PR limits the dependency on RedisConnectionFactory to the CachingConfigurer and thus makes it easier for Spring to instantiate the beans.
In the caching module we refactored the conditionals to limit the auto configuration. Due to this the implementation of the CachingConfigurer (to get a custom CacheErrorHandler) needed a dependency on RedisConnectionFactory or else it wouldn't be able to be post processed (due to the CachingConfigurer being needed in a MeterRegistryAutoConfiguration). This PR limits the dependency on RedisConnectionFactory to the CachingConfigurer and thus makes it easier for Spring to instantiate the beans.