-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
修改ConfigServer启动类,提供配置功能,开启或关闭EurekaServer功能 #2478
Conversation
禁用eureka之后服务发现如何实现? |
自行搭建eureka。 |
...rc/main/java/com/ctrip/framework/apollo/configservice/ConfigServerEurekaClientConfigure.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/ctrip/framework/apollo/configservice/ConfigServerEurekaClientConfigure.java
Show resolved
Hide resolved
...rc/main/java/com/ctrip/framework/apollo/configservice/ConfigServerEurekaServerConfigure.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #2478 +/- ##
============================================
- Coverage 50.21% 50.21% -0.01%
- Complexity 2044 2045 +1
============================================
Files 408 410 +2
Lines 12541 12543 +2
Branches 1281 1281
============================================
+ Hits 6298 6299 +1
Misses 5798 5798
- Partials 445 446 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
根据属性配置,
1、开启或者关闭eurekaServer,默认开启
2、开启或者关闭eurekaClient,默认关闭。