目录
Nacos注册中心(1)
Nacos是阿里巴巴推出的一个新开源项目,是Dynamic Naming and Configuration Service的首字母简称。它是一个更易于构建云原生应用的动态服务发现、配置管理和服务管理平台。Nacos主要提供三种功能:服务注册与发现、动态配置服务、动态DNS服务,帮助开发者构建弹性的、高可用的微服务架构。
Nacos的核心特性包括:
- 服务注册与发现:允许服务在注册中心中注册自己,并通过服务名来发现其他服务,有助于实现微服务架构中的服务之间的通信。
- 配置管理:提供了统一的配置管理平台,可用于管理和动态更新分布式系统中的配置信息,如数据库连接、参数设置等。
- 动态DNS服务:支持根据服务名动态解析到具体的IP地址,为服务调用提供更灵活的选择。
- 服务健康监测:提供了健康检查功能,可以监测注册的服务是否健康,自动剔除不健康的实例。
此外,Nacos还支持灰度发布和流量管理,可以实现不同版本的服务之间的流量切分和管理。在Nacos中,服务是一等公民,其注册中心分为server与client,server采用Java编写,为client提供注册发现服务与配置服务,而client可以用多语言实现,与微服务嵌套在一起。
认识和安装Nacos(1.1)
**注意:**再次声明安装视频仅为方便使用,学习回顾所写。
Nacos快速入门(1.2)
服务注册到Nacos(1.2.1)


父工程:
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.5.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
客户端:
<!-- nacos客户端依赖包 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
例:

Nacos服务分级存储模型(1.3)

配置集群(1.3.1)

根据集群修改负载均衡(1.3.2)

NacosRule负载均衡策略(1.3.3)

根据权重负载均衡(1.3.4)



Nacos环境隔离-namespace(1.4)

创建namespace环境隔离的步骤(1.4.1)






Nacos和Eureka的对比(1.5)

如何设置为非临时实例(1.5.1)

nacos与eureka的区别(1.5.2)

Nacos配置管理(2)
统一配置管理(2.1)
Nacos实现配置管理(2.1.1)



微服务配置拉取(2.1.2)




配置热更新(2.2)


配置共享(2.3)


搭建Nacos集群(2.4)
搭建集群地址:
微服务(基础篇-003-Nacos集群搭建)-CSDN博客https://blog.csdn.net/zip7986/article/details/136988700?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22136988700%22%2C%22source%22%3A%22zip7986%22%7D**注意:**再次声明安装视频仅为方便使用,学习回顾所写。

