-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Support autoconfigure additional redis instances #27834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Actually It's impossible to reuse |
This is a general problem with our current design and something that we hope to address more holistically with #21322. I don’t think we’ll be able to tackle the problem in a piecemeal fashion without making things worse. We’d rather keep our existing approach of requiring manual configuration if multiple services are being used until we can find a good general purpose solution. |
Allow application to extends those configurations mitigate spring-projectsgh-27834
Allow application to extends those configurations mitigate spring-projectsgh-27834
Allow application to extends those configurations mitigate spring-projectsgh-27834
It's common to connect multiple redis servers in the sample application, currently It's not easy to reuse
RedisAutoConfiguration
andLettuceConnectionConfiguration
to create multiple redis related beans, I hope spring-boot could handle this just by adding a few properties, for example:default redis related beans should be
@Primary
The text was updated successfully, but these errors were encountered: