redisson / redisson

Redisson - Easy Redis Java client and Real-Time Data Platform. Valkey compatible. Sync/Async/RxJava/Reactive API. Over 50 Redis or Valkey based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache...
https://redisson.pro
Apache License 2.0
23.29k stars 5.34k forks source link

Eagerly trying to connect to running redis server #6230

Open zenith7781 opened 3 days ago

zenith7781 commented 3 days ago

Hi, I have a spring boot project (spring boot version 3.2.10) with redisson 3.17.1 initially. Whenever the server used to start, it used to connect to a running redis server only when the value of "spring.cache.type" was redis in application.properties file. But since my upgradation to 3.30.0, it tries to connect to running redis server even if the spring.cache.type value is something else or the property isn't there at all. Can anyone please highlight the exact release and the documentation where this eager nature of connecting to redis server is mentioned? @mrniko Any guidance will be appreciated.

mrniko commented 1 day ago

You can disable it. https://redisson.org/docs/integration-with-spring/#faq