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

Improve handling microservice configuration #1459

Open
eikek opened this issue May 3, 2023 · 0 comments
Open

Improve handling microservice configuration #1459

eikek opened this issue May 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@eikek
Copy link
Member

eikek commented May 3, 2023

The configuration is currently often read multiple times from each service. It might be nicer, to read it only once and pass down case classes to where the information is required.

It could be one giant config object passed down everywhere, or reflect a bit the tree structure of the dependencies between the objects.

Expected advantages:

  • no need to depend on the concrete config library "everywhere"
  • easier testing by instantiating config literals
@eikek eikek added enhancement New feature or request status/triage Issue needs to be triaged and removed status/triage Issue needs to be triaged labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant