More Implementations of Configuration Center Extensions

More implementations of configuration center extensions, including etcd, consul, etc.

The Dubbo framework also provides default implementations for configuration centers such as etcd and consul.

Etcd

The Etcd configuration center is maintained by the community ecosystem library, for more details see .

Add dependency:

<dependency>
    <groupId>org.apache.dubbo.extensions</groupId>
    <artifactId>dubbo-configcenter-etcd</artifactId>
    <version>3.3.0</version>
</dependency>

Adjust configuration:

dubbo
  config-center
    address: etcd://127.0.0.1:1111

Consul

The Consul configuration center is maintained by the community ecosystem library, for more details see .

Add dependency:

<dependency>
    <groupId>org.apache.dubbo.extensions</groupId>
    <artifactId>dubbo-configcenter-consul</artifactId>
    <version>3.3.0</version>
</dependency>

Adjust configuration:

dubbo
  config-center
    address: consul://127.0.0.1:1111
Last modified September 30, 2024: Translate (22d3d83a3b)