Nacos 2.1.1 正式發(fā)布,真心強(qiáng)!
點(diǎn)擊關(guān)注公眾號(hào),Java干貨及時(shí)送達(dá)??

來(lái)源:網(wǎng)絡(luò)
2.1.1 版本特性 注冊(cè)服務(wù):batchRegister 服務(wù)追蹤事件:追蹤事件 更多更新內(nèi)容 特征 增強(qiáng) 重構(gòu)和依賴 錯(cuò)誤修復(fù)
最近 Nacso 2.1.1 正式發(fā)布了!
2.1.1 版本特性
該版本的核心解決方案 Nacos 2.0 包括使用公開(kāi)發(fā)布的穩(wěn)定性問(wèn)題(默認(rèn)實(shí)現(xiàn)、Grpc 請(qǐng)求和發(fā)行版的一致性性能等),另外 Beta 測(cè)試插件“測(cè)試兩個(gè)注冊(cè) 協(xié)議服務(wù)”和“服務(wù)跟蹤 ”個(gè)新功能。
注冊(cè)服務(wù):batchRegister
一直以來(lái),Nacos-Sync,Nacos-Sync,Nacos-Sync 等其他社區(qū)的主要需求,作為支持多個(gè)注冊(cè)中心遷移的工具,幫助一個(gè)注冊(cè)用戶從 Eureka 遷移中心,Consul,Consul 等其他社區(qū)注冊(cè)服務(wù)商到 Nacos 中。
在 Nacos 2.0 發(fā)布后,Nacos-Sync 第一時(shí)間進(jìn)行了更新。但在注冊(cè)更新后,由于 Nacos 2.0 的機(jī)制發(fā)生了一定的變化,同一個(gè)客戶端同一個(gè)服務(wù)器只能注冊(cè)一個(gè)實(shí)例,這導(dǎo)致了Nacos-Sync這種代理服務(wù)模式可以使用同一個(gè)客戶端進(jìn)行同一個(gè)服務(wù)多個(gè)實(shí)例的代理注冊(cè),方便使用同一個(gè)大數(shù)據(jù)的性能。
社區(qū)發(fā)現(xiàn),有一些特殊的應(yīng)用程序,因此,如網(wǎng)關(guān)、代理、dubbo3 等,也有一些注冊(cè)的能力,同學(xué)們?cè)谶M(jìn)行數(shù)次方案討論后,由最終社區(qū)發(fā)起代理服務(wù)。的版本功能開(kāi)發(fā),并在 2.1.1 進(jìn)行 beta 測(cè)試。
同一個(gè)注冊(cè)功能主要用于代理注冊(cè)客戶端的場(chǎng)景,允許應(yīng)用使用一個(gè)服務(wù)對(duì)同一個(gè)服務(wù)進(jìn)行多個(gè)實(shí)例的注冊(cè)請(qǐng)求。一般使用場(chǎng)景下,用戶仍然可以使用注冊(cè)服務(wù)。
服務(wù)追蹤事件:追蹤事件
阿里云發(fā)布了關(guān)于 Nacos 的公益支持,自從支持相關(guān)的文章后支持的社區(qū)響起熱烈,都能夠開(kāi)源加入。
MSE 團(tuán)隊(duì)知道社區(qū)對(duì)社區(qū)的強(qiáng)烈需求,由科學(xué) Z 同學(xué)完成事件后,由社區(qū)發(fā)起,并貢獻(xiàn)到開(kāi)源社區(qū)。
同樣的,暫時(shí)只允許在中源中通過(guò)追蹤功能,發(fā)布訂閱版本,作為一種方便的活動(dòng)方式,以方便SPI的形式,作為社區(qū)同學(xué)們按照自己的需求定制的發(fā)布測(cè)試插件進(jìn)行測(cè)試。
注意:兩個(gè)功能均屬于Beta測(cè)試階段,其API,上述功能可能與正式發(fā)布時(shí)的有一定區(qū)別。
更多更新內(nèi)容
Nacos 2.1.1 的更多變更內(nèi)容可查看:
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.
增強(qiáng)
[#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.
重構(gòu)和依賴
[#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.
錯(cuò)誤修復(fù)
[#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
1. 萬(wàn)能通用!權(quán)限系統(tǒng)就該這么設(shè)計(jì)
2. 淦!Sentinel 限流熔斷神器(全網(wǎng)最全教程)
最近面試BAT,整理一份面試資料《Java面試BATJ通關(guān)手冊(cè)》,覆蓋了Java核心技術(shù)、JVM、Java并發(fā)、SSM、微服務(wù)、數(shù)據(jù)庫(kù)、數(shù)據(jù)結(jié)構(gòu)等等。
獲取方式:點(diǎn)“在看”,關(guān)注公眾號(hào)并回復(fù) Java 領(lǐng)取,更多內(nèi)容陸續(xù)奉上。
PS:因公眾號(hào)平臺(tái)更改了推送規(guī)則,如果不想錯(cuò)過(guò)內(nèi)容,記得讀完點(diǎn)一下“在看”,加個(gè)“星標(biāo)”,這樣每次新文章推送才會(huì)第一時(shí)間出現(xiàn)在你的訂閱列表里。
點(diǎn)“在看”支持小哈呀,謝謝啦

