agollo
agollo copied to clipboard
请问支持yaml配置格式的读取吗?
注意到只支持.properties的读取,请问是否支持yaml格式的读取呢?
注意到只支持.properties的读取,请问是否支持yaml格式的读取呢?
支持 yaml 和 yml,通过以下方式格式化。 https://github.com/apolloconfig/agollo/blob/559999e53619fc5e6371345a553970bb0aa16f0a/client.go#L55
extension.AddFormatParser(constant.YAML, &yaml.Parser{})
原来针对yaml、yml格式的namespace,在指定namespace时要带上后缀,否则解析不了
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.