业界率先支持 MCP-OVER-XDS 协议,Nacos 2.0.1 + 1.4.2 Release 正式发布

简介: Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。

来源 | 阿里巴巴云原生公众号

Nacos 是阿里巴巴开源的服务发现与配置管理项目,本次同时发布两个版本:

  1. 发布 2.0.1 版本,主要致力于支持 MCP-OVER-XDS 协议,解决 Nacos 与 Istio 数据服务同步问题。
  2. 发布 1.4.2 版本,极大增强 K8s 环境中 JRaft 集群 Leader 选举的稳定性。

Nacos 2.0.1

2.0.1 主要变更为:

  1. 在 nacos-istio 插件及模块中,支持 MCP-OVER-XDS 协议,解决 Nacos 与 Istio 数据服务同步问题。
  2. 增强了 Jraft 协议在 K8s 环境中的 Leader 选举的稳定性。
  3. 修复了频繁抛出 Server is Down 错误的问题。

具体变更为:

[#3484] Support ldap login.
[#4856] Support mcp over xds.
[#5137] Support service list add view subscriber.
[#5367] Support client encryption plugin for nacos 2.0.
[#5307] Push support config some parameters
[#5334] Fix Server is Down problem in k8s environment.
[#5361] Check isUseGrpcFeatures() when register instance using GRPC protocol.
[#5486] Refactor Distro Config as singleton and replace GlobalConfig.
[#5169] Fix instance beat run only by responsible server.
[#5175] Fix publishConfig lost type.
[#5178] Fix NPE when init server list failed.
[#5182] Fix throw NoSuchFieldException in ConfigController when service connect to nacos.
[#5204] Fix query error when pageNo is larger than service number.
[#5268] Fix subscriber app unknown
[#5327] Fix ThreadPool usage problem and add some monitor for distro.
[#5384] Fix the problem of unable to shutdown NacosConfigService.
[#5404] Fix frequently udp push for client 1.X.
[#5419] Fix Nacos 2.0 client auth may invalid for non public namespace.
[#5442] change state to UP when received status form old version server.
[#5096] Add unit tests in nacos 2.0.
[#5171][#5421][#5436][#5450][#5464] Fix IT for nacos 2.0.

Nacos 1.4.2

  1. 该版本优化了 JRaft 模块,与最新的 nacos-k8s 项目配合使用,极大增强集群选主的稳定性。
  2. 另外,该版本了修复有关“Server is Down”问题的提示及众多 1.4.1 版本中的 Bug。

具体变更为:

[#4452] Add config compare features.
[#4602] Add new way for export config.
[#4996] Make log level changeable for nacos-core module.
[#5367] Add pre-plugin in client for encrypting config.
[#3922] Method createServiceIfAbsent in ServiceManager require sync.
[#4274] skip master-select task when db.num is 1.
[#4753] Use SafeConstructor to parse yaml configuration.
[#4762] Naming health check thread num support user define it by self.
[#4770] Beta publish: change the way of select betaIps, from input to select.
[#4778] Make SecurityProxy.accessToken threadsafe in single writer multi reader.
[#4903] Add securuty hint for login page.
[#4917] Raft ops interface add auth.
[#4980] Log4J2NacosLogging.loadConfiguration() return directly When location is blank.
[#5010] Fix the usage of TemplateUtils.
[#5190] Add some hint log when login failed.
[#5234] Solve the problem that page can be edited while publishing-config request is processing.
[#5331] Fix the mouse hovers over the margin in a pointer state and cannot be clicked.
[#5350] Add hint and detail reason for consistence status Down.
[#5439] Support specified naming UDP push port for client.
[#5434] Optimize the ConfigType.isValidType method.
[#3779] Check groupName can't be empty.
[#4661] ConfigServletInner#doGetConfig code optimization.
[#3610] Fix the press F1 to full screen issue in new config page.
[#3876] Fix push empty service name.
[#4306] Fix search service by group error problem.
[#4573,#4629] Jraft leader status check error.
[#4672] Fix cloning configuration lost description.
[#4699] Fix metadata batch operation may delete instance problem.
[#4756] Fix config list sort and search problem.
[#4787] Losting member if parsing host throw UnknownHostException.
[#4806] Fix addListener method comment.
[#4829] Remove instance when distro and raft remove instances data.
[#4852] Fix main.js is too large problem.
[#4854] Modify Header to support Keys Ignore Case.
[#4898] Fix instance list page bug.
[#4925] Fix member list change will cover member status and metadata problem.
[#5078] Fix the problem of inconsistent results for querying subscriber list data multiple times.
[#5026] Fix MetricsHttpAgent metrics twice.
[#5018] Check group and dataId in groupKey.
[#5114] ConcurrentHashSet.java is not compatible with jdk1.6 or 1.7.
[#5253] Fix missing auth identity header error.
[#5291] Fix Beat task will stop when throw unexpected exception.
[#5301] Respond all kinds of collections for istio's request.
[#5351] Fix Consistence status can't switch to UP after Jraft election.
[#5390] Fix ip verify error.
[#5427] Fix NPE if Jraft leader is null in CurcuitFilter.
[#5437] Fix config beta feature will lost dump event problem.
[#5451] Fix the tag can't be removed problem.
[#4822][#4823][#4824][#4825][#4979][#5506] Fix dependency security problem.
[#5277] Subscriber list servername add required.
[#5380][#5418] Add and enhance unit test.

社区

随着 Nacos 2.0.1 及 1.4.2 的发布 Nacos 社区又新增了一位 Committer:haoyann,这位同学在推进多数据源支持、鉴权及安全性、配置模块优化与完善等内容中作出许多贡献,并积极参与社区讨论。

haoyann_commiter.jpg

Nacos 社区欢迎更多愿意参与共建的小伙伴加入,包括但不限于:

  • 源代码
  • 文档
  • 社区讨论
  • 多语言实现
  • 周边生态产品结合

积极参与将可以获得 Nacos 社区赠送的精美小礼品~

About Nacos

Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。

Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。Nacos 是构建以“服务”为中心的现代应用架构 (例如微服务范式、云原生范式) 的服务基础设施。

相关实践学习
深入解析Docker容器化技术
Docker是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的Linux机器上,也可以实现虚拟化,容器是完全使用沙箱机制,相互之间不会有任何接口。Docker是世界领先的软件容器平台。开发人员利用Docker可以消除协作编码时“在我的机器上可正常工作”的问题。运维人员利用Docker可以在隔离容器中并行运行和管理应用,获得更好的计算密度。企业利用Docker可以构建敏捷的软件交付管道,以更快的速度、更高的安全性和可靠的信誉为Linux和Windows Server应用发布新功能。 在本套课程中,我们将全面的讲解Docker技术栈,从环境安装到容器、镜像操作以及生产环境如何部署开发的微服务应用。本课程由黑马程序员提供。     相关的阿里云产品:容器服务 ACK 容器服务 Kubernetes 版(简称 ACK)提供高性能可伸缩的容器应用管理能力,支持企业级容器化应用的全生命周期管理。整合阿里云虚拟化、存储、网络和安全能力,打造云端最佳容器化应用运行环境。 了解产品详情: https://www.aliyun.com/product/kubernetes
相关文章
|
Java Nacos
对于Nacos 2.x版本,默认是通过gRPC协议进行通信的
对于Nacos 2.x版本,默认是通过gRPC协议进行通信的
1769 7
|
5月前
|
人工智能 Java API
Nacos 3.1.0 正式发布,支持 A2A 注册中心与 MCP 注册协议增强
3.1.0 发布核心全新功能-Agent 注册中心,助力构建基于 A2A 协议的多 Agent 协作的AI应用,同时 MCP 注册中心适配最新 MCP 官方注册中心协议及升级优化多项核心功能。
1283 50
|
存储 算法 Nacos
Nacos支持哪些协议
Nacos支持哪些协议
|
11月前
|
人工智能 JSON API
Nacos 发布 MCP Registry,实现存量应用接口“0改动”升级到 MCP 协议
MCP(Model Calling Protocol)生态快速发展,Nacos作为MCP Registry,通过与Higress网关结合,实现“0代码”将存量API转化为MCP协议接口。本文详细解析了Nacos如何快速构建MCP Server,包括工具列表暴露、协议转换原理及优势。同时,通过高德API实例演示“0改动”适配流程。Nacos 3.0正式发布,定位AI应用服务管理平台,支持动态服务发现与配置管理,助力MCP生态发展。欢迎参与社区共建!
1809 1
|
Nacos 微服务
Zookeeper 的 ZAB 协议 以及 zookeeper 与 nacos 注册中心比对
Zookeeper 的 ZAB 协议 以及 zookeeper 与 nacos 注册中心比对
488 4
|
存储 缓存 中间件
Nacos架构与原理 - 自研 Distro 协议 (AP分布式协议)
Nacos架构与原理 - 自研 Distro 协议 (AP分布式协议)
604 0
|
存储 运维 算法
Nacos架构与原理 - CAP一致性协议 ( Raft & Distro)
Nacos架构与原理 - CAP一致性协议 ( Raft & Distro)
709 0
|
存储 运维 算法
说透 Nacos 一致性协议
说透 Nacos 一致性协议
398 0
|
存储 Kubernetes 网络协议
Nacos 的一致性协议介绍与在liunx 上安装
在介绍一致性协议前先了解一下CAP理论 Consistency 一致性,在分布式系统中的所有数据备份,在同一时刻是否同样的值; Availability 可用性,只要收到用户的请求,服务器就必须给出回应; Partition tolerance 分区容错性,以实际效果而言,分区相当于对通信的时限要求。系统如果不能在时限内达成数据一致性,就意味着发生了分区的情况,必须就当前操作在C和A之间做出选择
474 0
Nacos 的一致性协议介绍与在liunx 上安装
|
存储 缓存 中间件
Nacos内核设计之一致性协议(下)
Nacos内核设计之一致性协议(下)
381 0
Nacos内核设计之一致性协议(下)