-
Notifications
You must be signed in to change notification settings - Fork 906
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
Set spring.application.name in application.properties #133
Comments
@OlgaMaciaszek do you think this is still applicable? I remember that using the |
Makes sense to me. It's used for bootstrapping when working with SC Config and also for service discovery. |
spring.application.name
when Spring Cloud is used
I wonder if we should set that by default for every application. Some components, unrelated to Cloud, make use of that application name, e.g. the distributed tracing or the log correlation feature. |
Always setting it would make sense to me, e.g.: reusing the name field from the project metadata section. |
One of the things to keep in mind is that we were planning this for a major release. At this point we have a default when that is missing, so in order to avoid lack of compatibility, it should go along with a Cloud major. |
@mhalbritter I believe it would be ok in a minor. This is just setting a property, not changing an API. If a user wants the previous behavior, they can delete the property. Maybe we could schedule this to coincide with the 2024.0 Spring Cloud release train Q4 2024 compatible with boot 3.4? |
I'll bring it up in our next meeting and let you know what we decided. Thanks for all the input! |
@OlgaMaciaszek @spencergibb I don't quite understand what is needed on cloud side for this to work. My plan is to always add the
I don't understand what is "this" here? |
Having that change added; but after more discussion in the team, we think it's ok to add this at any point. |
Great, thanks! |
Done in d3e96c1. |
No description provided.
The text was updated successfully, but these errors were encountered: