- Netflix Eureka springCloud
- Alibaba Nacos 阿里的
- HashiCorp Consul consul是google开源的一个使用go语言开发的服务发现、配置管理中心服务
- Apache ZooKeeper dubbo+ZooKeeper
- CoreOS Etcd
- CNCF CoreDNS
1.3、CAP原则与BASE理论
CAP 原则又称 CAP 定理,指的是在一个分布式系统中, Consistency(一致性)、 Availability(可用性)、Partition tolerance(分区容错性),三者不可得兼。
BASE理论
- 在模块启动类中添加注解
@EnableDiscoveryClient
开启服务注册发现功能
复制代码