Skip to content
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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

DanielYWoo
Copy link

@DanielYWoo DanielYWoo commented Jun 10, 2022

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.

@DanielYWoo
Copy link
Author

@ryanjbaxter If this is approved, how do I update the documents?

@ryanjbaxter
Copy link
Contributor

I just approved the build to run
I don't understand the checkstyle failures though

Copy link
Member

@spencergibb spencergibb left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make profile specific context paths optional to improve performance
5 participants