-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sermant-springboot-registry): 添加 Nacos 注册中心支持 #1688
Merged
Merged
+1,479
−32
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daizhenyu
reviewed
Nov 29, 2024
daizhenyu
reviewed
Nov 29, 2024
daizhenyu
reviewed
Nov 29, 2024
...ingboot-registry-plugin/src/main/java/io/sermant/discovery/config/DiscoveryPluginConfig.java
Outdated
Show resolved
Hide resolved
daizhenyu
reviewed
Nov 29, 2024
daizhenyu
reviewed
Nov 29, 2024
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
...ry/springboot-registry-plugin/src/main/java/io/sermant/discovery/entity/RegisterContext.java
Outdated
Show resolved
Hide resolved
...ot-registry-service/src/main/java/io/sermant/discovery/service/lb/discovery/zk/ZkClient.java
Outdated
Show resolved
Hide resolved
...ot-registry-service/src/main/java/io/sermant/discovery/service/lb/discovery/zk/ZkClient.java
Outdated
Show resolved
Hide resolved
...gistry-service/src/main/java/io/sermant/discovery/service/lb/rule/NacosWeightRandomRule.java
Outdated
Show resolved
Hide resolved
.../src/test/java/io/sermant/discovery/service/lb/discovery/nacos/NacosDiscoveryClientTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/io/sermant/discovery/service/lb/discovery/nacos/NacosDiscoveryClientTest.java
Show resolved
Hide resolved
xzhaoxz
force-pushed
the
nacos-register
branch
3 times, most recently
from
November 29, 2024 09:50
58d7643
to
52f7421
Compare
lilai23
reviewed
Nov 30, 2024
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
lilai23
reviewed
Nov 30, 2024
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
lilai23
reviewed
Nov 30, 2024
...pringboot-registry-plugin/src/main/java/io/sermant/discovery/config/NacosRegisterConfig.java
Outdated
Show resolved
Hide resolved
xzhaoxz
force-pushed
the
nacos-register
branch
2 times, most recently
from
November 30, 2024 08:12
f18d059
to
6433cb0
Compare
daizhenyu
reviewed
Dec 2, 2024
...ry-service/src/test/java/io/sermant/discovery/service/lb/rule/NacosWeightRandomRuleTest.java
Outdated
Show resolved
Hide resolved
daizhenyu
reviewed
Dec 2, 2024
...ry-service/src/test/java/io/sermant/discovery/service/lb/rule/NacosWeightRandomRuleTest.java
Show resolved
Hide resolved
daizhenyu
reviewed
Dec 2, 2024
...gistry-service/src/main/java/io/sermant/discovery/service/lb/rule/NacosWeightRandomRule.java
Outdated
Show resolved
Hide resolved
zwmagic
reviewed
Dec 2, 2024
...gistry-service/src/main/java/io/sermant/discovery/service/lb/rule/NacosWeightRandomRule.java
Outdated
Show resolved
Hide resolved
...ain/java/io/sermant/discovery/service/lb/discovery/nacos/listen/NacosInstanceListenable.java
Outdated
Show resolved
Hide resolved
zwmagic
reviewed
Dec 2, 2024
...vice/src/main/java/io/sermant/discovery/service/lb/discovery/nacos/NacosDiscoveryClient.java
Show resolved
Hide resolved
xzhaoxz
force-pushed
the
nacos-register
branch
from
December 13, 2024 09:46
26f3c0f
to
1674da9
Compare
xzhaoxz
force-pushed
the
nacos-register
branch
3 times, most recently
from
December 26, 2024 01:47
4cdd419
to
e575b30
Compare
- 新增 NacosRegisterConfig 类用于配置 Nacos 相关参数 - 实现 NacosDiscoveryClient 类以支持 Nacos服务发现和注册 - 添加 NacosServiceManager 类用于管理 Nacos 服务 - 实现 NacosInstanceListenable 类以监听 Nacos 实例变化 - 新增 NacosWeightRandomRule 类用于 Nacos 权重随机负载均衡 - 更新配置文件和资源文件以支持 Nacos Signed-off-by: xiaozhao <[email protected]>
xzhaoxz
force-pushed
the
nacos-register
branch
from
December 30, 2024 10:02
e575b30
to
2e6b2a0
Compare
daizhenyu
approved these changes
Jan 2, 2025
lilai23
approved these changes
Jan 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
spring-boot supports nacos
What this PR does / why we need it?
SpringBoot provides service registration and discovery capabilities for pure SpringBoot applications, enabling users to quickly access the registry without modifying the code
Which issue(s) this PR fixes?
Fixes #
Does this PR introduce a user-facing change?
#1714