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:

  1. <dependency>
  2. <groupId>org.apache.dubbo.extensions</groupId>
  3. <artifactId>dubbo-configcenter-etcd</artifactId>
  4. <version>3.3.0</version>
  5. </dependency>

Adjust configuration:

  1. dubbo
  2. config-center
  3. 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:

  1. <dependency>
  2. <groupId>org.apache.dubbo.extensions</groupId>
  3. <artifactId>dubbo-configcenter-consul</artifactId>
  4. <version>3.3.0</version>
  5. </dependency>

Adjust configuration:

  1. dubbo
  2. config-center
  3. address: consul://127.0.0.1:1111

Feedback

Was this page helpful?

Yes No

Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)