-
Notifications
You must be signed in to change notification settings - Fork 196
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
example config micro registry #4910
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Type string `yaml:"type" env:"MICRO_REGISTRY"` | ||
Addresses []string `yaml:"addresses" env:"MICRO_REGISTRY_ADDRESSES"` |
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.
Should't those envs start with OICS_
or APP_PROVIDER_
?
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.
I just used the current ENV name for demo purposes. If we change it we need to check if we also need to keep backwards compatibility.
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.
Maybe to add new ones in parallel having the correct name as we "later" plan a deprication process anyways...?
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.
Actually in this case it might even need to stay MICRO_REGISTRY
(haven't checked in detail) as go-micro itself make use of that variable.
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.
#3917 (Harmonize env variable naming for those which are not bound to a particular service)
@dragonchaser fyi
closing because I cannot work on this for the next months. |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: