Cloud Native 7 min read

What’s New in Nacos 2.1.1? Explore Batch Register and Trace Event Features

Nacos 2.1.1 introduces beta features such as batch register service and trace events, along with numerous enhancements, refactorings, dependency updates, and extensive bug fixes, providing improved service registration, monitoring, and stability for cloud‑native applications.

Java High-Performance Architecture
Java High-Performance Architecture
Java High-Performance Architecture
What’s New in Nacos 2.1.1? Explore Batch Register and Trace Event Features

2.1.1 Version Features

The recent release of Nacos 2.1.1 adds beta functionalities like batch register service and service trace events, addressing stability issues and extending the core solution introduced in Nacos 2.0.

Register Service: batchRegister

Nacos‑Sync, a tool for migrating services from Eureka, Consul and other registries to Nacos, has been updated for Nacos 2.0. Due to changes in the new version, a single client can register only one instance per server, but Nacos‑Sync can proxy multiple instances, facilitating scenarios such as gateways, proxies, and Dubbo3. The batch register feature is available for beta testing in version 2.1.1.

Service Trace Event

Alibaba Cloud supports the community with open‑source contributions. The MSE team, together with community members, has added a trace event capability that allows publish‑subscribe style monitoring, enabling customized SPI plugins for testing.

Note: Both features are in beta and their APIs may differ from the final release.

More Updates

https://github.com/alibaba/nacos/releases/tag/2.1.1

Features

[#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.

Enhancements

[#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] Enhance GrpcUtil memory and cpu cost.
[#8622] Add NacosEnvironment and add some unit tests.

Refactoring and Dependencies

[#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 configurable.
[#8596] Explicitly specify spring-boot-maven-plugin version same as spring-boot.
[#8623] Upgrade mysql-connector-java to 8.0.28.

Bug Fixes

[#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.

Reference: https://nacos.io/zh-cn/blog/2.1.1-release.html, https://github.com/alibaba/nacos/releases/tag/2.1.1

cloud-nativeNacosservice registryrelease-notesTrace EventBatch Register
Java High-Performance Architecture
Written by

Java High-Performance Architecture

Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.