Etcd
Use etcd as Kitex’s service governance configuration center
Kitex provides dynamically configurable service management capabilities, including client timeout, retry, circuit breaker, and server limiting.
kitex-contrib provides an extension to the community’s mainstream configuration center and realizes dynamic configuration docking with kitex governance features.
Microservice developers can use the configuration center to dynamically obtain service governance configurations, which take effect in near real-time
Currently supported configuration centers are:
config-center | depository |
---|---|
nacos | config-nacos |
etcd | config-etcd |
apollo | config-apollo |
file | config-file |
zookeeper | config-zookeepr |
consul | config-consul |
In the process of connecting to the configuration center, Suite is used for third-party expansion.
Suite is defined as follows:
type Suite interface {
Options() []Option
}
Both the server and the client use the WithSuite method to enable new suites.
For more information about Suite, please see Suite
Use etcd as Kitex’s service governance configuration center
Use apollo as Kitex’s service governance configuration center
Use Nacos as Kitex’s service governance configuration center
Use local files as Kitex’s service governance configuration center
Use ZooKeeper as Kitex’s service governance configuration center
Using consul as Kitex’s service governance configuration center