shiyiyue1102

Results 9 issues of shiyiyue1102

enhance address server personalized customization to visit alibaba diamond **Describe the solution you'd like** add endpointQueryParams and label string to support diamond address server.

area/Client

**背景** 当前nacos-client 2.x大小为14M左右,相比1.x的230K增长较大,增长的部分主要包含支持长链接后引入的grpc和netty包,并且为了减少引入的jar包带来的类冲突,2.x的版本中对其所依赖的jar包进行了shaded处理,因此包增长较大。 **分析** 1.4.3 版本 包大小:230K 依赖jar包总和:9M ![image](https://user-images.githubusercontent.com/20452676/182027740-c5f3ddfe-5d1b-45da-a85d-7e9ef1d594da.png) 2.1.0版本 nacos-client大小:14M 依赖jar包总和:19M ![image](https://user-images.githubusercontent.com/20452676/182027747-cec6aa8a-9ef3-42dd-af41-37f3f9e62ebf.png) **优化** minijar 使用maven minijar功能可以将nacos-client模块中没有使用到的类给排除掉 包大小:9.7M 依赖jar包总和:15M ![image](https://user-images.githubusercontent.com/20452676/182027755-ee29dc67-7e67-40d1-be98-50107bc0f4f7.png) 1.没有修改任何代码,仅使用minijar插件,client包大小可以减少4M左右。 2.剩余jar包中,jackson和http相关包大约为2.5M, jackson可以使用gson替代,httpcore可以使用jdk包,理论上可以减少2.5M 3.nacos-client为9.7M,解压后为34.7M ![image](https://user-images.githubusercontent.com/20452676/182027761-10da94c3-831b-4be7-aa69-cbe4ec229544.png) fastxml-jackson为6.2M,约占六分之一,使用gson替换之后,理论上nacos-client可以减少1.7M至8M 去jackson和httpcore 包大小:8M 依赖jar包总和:11M **结果**...

kind/research

using Chain of Responsibility refactor ConfigQueryRequestHandler and ConfigServletInner, replacing current serval if-else statements. Create ConfigQueryHandler and ConfigQueryHandlerChain,ConfigQueryHandlerChainBuilder. To exact BetaConfigQueryHandler-beta ,TagConfigQueryHandler-tag,FormalConfigQueryHandler-formal . ConfigQueryHandlerChainBuilder builder with Handler of ordered name [...

kind/refactor
area/Config

**Describe the bug** ![image](https://github.com/alibaba/nacos/assets/20452676/57be9373-b55a-498e-be62-edbd1e5dacf3) when use for-each statement to get elements in a propority queue, the order you get may not the same as what you want. if you want...

kind/bug
plugin

nacos supports beta publish with client ip currently,and support tag publish for a single fixed tag Vip-Server-Tag in source code,but without a open function. **Describe the solution you'd like** create...

kind/refactor
area/Config

### Describe what this PR does / why we need it support nacos config annotation. @NacosConfig : apply to filed ,auto apply value from nacos to specific type filed, support...

### Describe what this PR does / why we need it support nacos config annotation. @NacosConfig : apply to filed ,auto apply value from nacos to specific type filed, support...

### Describe what this PR does / why we need it support nacos config annotation. @NacosConfig : apply to filed ,auto apply value from nacos to specific type filed, support...

**Is your feature request related to a problem? Please describe.** 1. publish config for cas should calculate expect config md5, but a encryped config can't be accquired by getConfig, cas...

kind/refactor
area/Config