-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Provide an easy way to duplicate service AutoConfiguration #35157
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
Unfortunately, the comment made on #27834 applies here too:
In other words, this is a duplicate of #21322. |
No. We expect that it will be particularly useful in a Kubernetes environment but I doubt that it will be required. |
If #21322 is dedicated for that spec, I suggest keep this open, most people want to keep configuration properties in traditional way like this: spring.data.redis:
host: redis.svc.default.cluster.local
database: 1
another.spring.data.redis:
# host: redis.svc.default.cluster.local default to spring.data.redis
database: 2 instead of
|
It is higher level abstraction of #27834
Currently It's a bit hard to add extra service without back off default one, especially for
RedisAutoConfiguration
.Requirement:
AutoConfiguration
in usePossible solution:
Provide a dedicated
BeanDefinitionRegistryPostProcessor
to duplicatethen duplicate service in application configuration
The text was updated successfully, but these errors were encountered: