-
Notifications
You must be signed in to change notification settings - Fork 541
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
Make profile specific paths optional #788
base: main
Are you sure you want to change the base?
Conversation
@ryanjbaxter If this is approved, how do I update the documents? |
I just approved the build to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've made many changes, such as comments, formatting, final keywords, etc... that are unrelated to this change. Please revert them.
As stated in #787 we need to mitigate the pressure to Consul, so the change is to add a new flag to get rid of profiles in a large deployment.
The change is simple, now we have a flag
spring.cloud.consul.config.profileEnabled
, and default to true to keep it compatible with the current behavior. When disabled, we will scan less paths on Consul.P.S. Many of the changes are due to checkstyle, not really related to this change. I have to fix them to make the build pass.