* Replace sync forward request with async request in DistroFilter. issue #10148
* extract method for config default headers
* add env switch for async distro forward.
* Fixed code review problems:
1. Move async forward switch from sys module to naming module.
2. use nacos code style to format code.
* Fixed nacos code checkstyle:
1. one import per Class
2. add javadoc
* In order to avoid additional overhead, move switch from GlobalConfig to ClientConfig and cache the env switch.
* Move switch from ClientConfig to DistroConfig.
* Removed unused import.
* Add test for async forward for DistroFilter
* Add license
* rename test method name
* Should enable async forward
* fixed test
* set async forward request switch to true in test
* fixed test: create and set property with MockEnvironment
* fixed check style
* move MockEnvironment init to BeforeClass
* add setter for asyncForwardRequest switch
* Add PathEncoder for OS to encode if dataId, ns, group contains illegal char for file system
* Add copyright
* Fix checkstyle
* Fix pmd
* fix PathEncoderManager as singleton
* fix ut
* fix checkstyle
* fix:CollectionUtils下for循环中的字符串拼接改用StringBuilder
* fix:The LinkedHashSet in CollectionUtils.java lacks a generic
* docs:a is used before a consonant; an is used before a vowel
* code optimization for `ConfigChangeHandler`
* [ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME
* enhancement: CloseableHttpAsyncClient does not clean up expired and invalid connections (#9708)
* enhancement: CloseableHttpAsyncClient does not clean up expired and invalid connections (#9708)
* style:satisfy style/NacosCheckStyle.xml
* add unit test(#9708)
* Revert "add unit test(#9708)"
This reverts commit 939905cb56f30af4d0ec35543d6d630f0777eb98.
* add unit test
* perf: Replace the dead loop with while
* perf: Jump statements should not be redundant
* Update CredentialWatcher.java
Co-authored-by: elsez <67528597+zhantiao@users.noreply.github.com>
* Enhance MetricsMonitor with several new metrics
* Add config read and write rt
* Add ServiceEvent publisher queue size
* Add fuzzy search count
* Add naming subscriber and publisher count with v1 or v2 version tag
* Add config subscriber count with v1 or v2 version tag
* Add pending push task count and empty push count metrics
* collect pending push task count by scheduled task
* add unit test for increment metrics in NacosMonitorPushResultHook
* Add topn counter container and topn config change
* Create private MeterRegistry for config change
* Add scheduled clear for config change count, add removeAll for TopnCounterMetricsContainer
* Add topn service change
* Reconstruct metrics monitor with NacosMeterRegistryCenter.
* divide globalRegistry to different modules' CompositeMeterRegistry
* Add dynamic meters refresh service for config and naming module
* fix unit test
* Add try catch when init NacosMeterRegistryCenter
* collect client info #8857
* collect client info #8857
* collect client info #8857
* collect client info #8857
* collect client info #8857
* collect client info #8857
* cluster/report api return self information.
* Update metadata when received report response.
* Add UT for handle report member info response.
* For checkstyle.
* enhance rpc config related to one RpcClientConfig
* modify rpcclient unit test
* modify rpcclient unit test
* modify rpcclient unit test
* add RpcClient constructor with properties.
* modify some unit test
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]