microsoft/garnet
在 GitHub 查看Support the configuration API for generic configuration providers
Open
#612 创建于 2024年8月26日
help wanted
仓库指标
- Star
- (11,827 star)
- PR 合并指标
- (平均合并 5天 16小时) (30 天内合并 55 个 PR)
描述
Feature request type
enhancement
Is your feature request related to a problem? Please describe
Currently, when running the garnet server we must provider either command-line arguments or a garnet.conf JSON file.
By adopting the https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration we will be able to use any configuration provider and require less manual work for maintaining the Options file
Describe the solution you'd like
building on top of #579 we would call builder.Configuration.AddEnvironmentVariables(prefix: "GARNET_") (see https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration-providers#prefixes)
Describe alternatives you've considered
No response
Additional context
No response