ConfigCenter

ConfigCenter Extension provided by kitex-contrib

Kitex provide 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

Suite

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


Etcd

Use etcd as Kitex’s service governance configuration center

Apollo

Use apollo as Kitex’s service governance configuration center

Nacos

Use Nacos as Kitex’s service governance configuration center

File

Use local files as Kitex’s service governance configuration center

Zookeeper

Use ZooKeeper as Kitex’s service governance configuration center

Consul

Using consul as Kitex’s service governance configuration center