想知道字节用什么分布式配置中心呢,作为golang大厂,应该不是沿用JAVA的配置中心吧?

Views :
Update time : 2025-06-26 08:35:17

介绍一个我当初在鹅厂写过的吧。

完全的云原生环境下的配置管理。

结合 直接上代码给你看看吧。

type MyConf struct { TestKey1 string `cm:"testKey1"` TestKey2 int `cm:"testKey2"` TestKey3 struct { SubKey1 string `yaml:"subKey1"` SubKey2 int `yaml:"subKey2"` SubKey3 []string `yaml:"subKey3"` } `cm:"testKey3"` } func (c *MyConf) CMName() string { return "cm-op-config-test" } 使用? myConf := &My…。

想知道字节用什么分布式配置中心呢,作为golang大厂,应该不是沿用JAVA的配置中心吧?
Related News
Read More >>
Blog Post With Youtube Video 我是新手想养鱼,预算不超过200。有什么好的建议或者禁忌吗。?
2025-06-24 10:30:19
我是新手想养鱼,预算不超过200。有什么好的建议或者禁忌吗。?...
Blog Post With Youtube Video 想买一个只用来睡觉,几乎不开的车,最低成本是多少?
2025-06-24 11:00:18
想买一个只用来睡觉,几乎不开的车,最低成本是多少?...
Blog Post With Youtube Video 高薪裁员的中年人送外卖还是开滴滴好?
2025-06-24 11:40:19
高薪裁员的中年人送外卖还是开滴滴好?...
Blog Post With Youtube Video Go 语言的使用感受是什么?
2025-06-24 11:50:18
Go 语言的使用感受是什么?...

Leave Your Message