2345以下文章来源Java架构师技术,回复”Spring“获惊喜礼包
上一篇推文:是时候了解下 mmap 了
大家好,我是Java架构师
最近Nacso 2.1.1 正式发布了!

2.1.1 新特性

该版本的核心解决方案 Nacos 2.0 包括使用公开发布的稳定性问题(默认实现、Grpc 请求和发行版的一致性性能等),另外 Beta 测试插件“测试两个注册 协议服务”和“服务跟踪 ”个新功能。

注册服务:batchRegister

一直以来,Nacos-Sync,Nacos-Sync,Nacos-Sync 等其他社区的主要需求,作为支持多个注册中心迁移的工具,帮助一个注册用户从 Eureka 迁移中心,Consul,Consul 等其他社区注册服务商到 Nacos 中。
在Nacos 2.0 发布后,Nacos-Sync 第一时间进行了更新。但在注册更新后,由于 Nacos 2.0 的机制发生了一定的变化,同一个客户端同一个服务器只能注册一个实例,这导致了Nacos-Sync这种代理服务模式可以使用同一个客户端进行同一个服务多个实例的代理注册,方便使用同一个大数据的性能。
社区发现,有一些特殊的应用程序,因此,如网关、代理、dubbo3 等,也有一些注册的能力,同学们在进行数次方案讨论后,由最终社区发起代理服务。的版本功能开发,并在 2.1.1 进行 beta 测试。
同一个注册功能主要用于代理注册客户端的场景,允许应用使用一个服务对同一个服务进行多个实例的注册请求。一般使用场景下,用户仍然可以使用注册服务。

服务追踪事件:追踪事件

阿里云发布了关于 Nacos 的公益支持,自从支持相关的文章后支持的社区响起热烈,都能够开源加入。
MSE团队知道社区对社区的强烈需求,由科学 Z 同学完成事件后,由社区发起,并贡献到开源社区。
同样的,暂时只允许在中源中通过追踪功能,发布订阅版本,作为一种方便的活动方式,以方便SPI的形式,作为社区同学们按照自己的需求定制的发布测试插件进行测试。另外,搜索公众号顶级科技后台回复“API接口”,获取一份惊喜礼包。
注意:两个功能均属于Beta测试阶段,其API,上述功能可能与正式发布时的有一定区别。

更多更新内容

Nacos 2.1.1 的更多变更内容可查看:
https://github.com/alibaba/nacos/releases/tag/2.1.1

特征

[#
5863
] (BETA) Support batch register service.

[#
7424
] Add version data compare in the history list.

[#
8305
] (REMOVE) Remove leave nacos server nodes API temporarily.

[#
8481
] (BETA) Add TRACE Event to server.

[#
8755
] Add 
default
 fuzzy search feature.


增强

[#
8099
] Fast failure 
for
 distro sync task and verify task 
if
 cluster disconnect.

[#
8150
] Add the namespace description item to the namespace list page.

[#
8345
] Add validation 
for
 service cluster name.

[#
8515
] Optimize some code in InetUtils.

[#
8561
] Enhance 
default
 authentication plugin performance.

[#
8574
] Enhance filter service info 
for
 push callback.

[#
8592
] Ehhance GrpcUtil memory and cpu cost.

[#
8622
] Add NacosEnvironment and add some unit tests.


重构和依赖

[#
8369
] Remove mina dependency.

[#
8383
] Upgrade jackson version to 
2.12.6.1
.

[#
8421
] Remove commonOkHttp dependency.

[#
8472
] Remove useless dependency.

[#
8479
] Refactor singleton construction as 
private
.

[#
8540
] Upgrade spring-boot version to 
2.6.8
.

[#
8594
] Makes distro data load timeout can be configured.

[#
8596
] Explicitly specify spring-boot-maven-plugin version same as spring-boot.

[#
8623
] Upgrade mysql-connector-java to 
8.0.28
.


错误修复

[#
7039
] Fix config encryptedData md5 calculation problem.

[#
8153
] Fix NPE 
for
 AutoExpireCache.

#
8243
 Fix health check plugin problem.

[#
8275
] Fix can
't register service when use skywalking.

[#8295] Fix can'
t login when use embedded storage in cluster model.

[#
8318
] Fix findAllConfigInfoForDumpAll sql args error.

[#
8372
] Fix client can
't use https connection.

[#8424] Fix cycle dependency problem.

[#8428] Fix naming subscribe bug when multiple NamingService.

[#8505] Fix log configuration conflict in spring-boot project.

#8514 Fix prometheus api error in client.

[#8516] Fix the persistent instance becomes a temporary instance.

[#8602] Fix display error after delete current namespace.

[#8632] Fix subscribe disabled instance problem in the first time.

[#8635] Fix NPE when call the shutdown method.

[#8720] Fix the problem that config aspect invalid problem.

[#8742] Fix change instance metadata, the revision of service not change.

[#8784] Fix some bugs for Console UI.

[#8833] Fix import config failed when open auth.

[#8880] Fix constantly loading config when not read permission.


参考资料:
https://nacos.io/zh-cn/blog/2.1.1-release.html
https://github.com/alibaba/nacos/releases/tag/2.1.1
欢迎有需要的同学试试,如果本文对您有帮助,也请帮忙点个 赞 + 在看 啦!❤️
在 GitHub猿 还有更多优质项目系统学习资源,欢迎分享给其他同学吧
最后,整理了300多套项目,赠送读者。扫码下方二维码,后台回复赚钱即可获取。
--END--
继续阅读
阅读原文