Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈文顺
discovery
Commits
62ba3be9
Commit
62ba3be9
authored
Sep 20, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
5b671ebf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
README.md
+6
-7
No files found.
README.md
View file @
62ba3be9
...
@@ -246,7 +246,7 @@ Nepxion Discovery是一款对Spring Cloud Discovery服务注册发现、Ribbon
...
@@ -246,7 +246,7 @@ Nepxion Discovery是一款对Spring Cloud Discovery服务注册发现、Ribbon
| discovery-plugin-strategy-starter-zuul | 用户自定义和编程灰度路由策略的Zuul Starter |
| discovery-plugin-strategy-starter-zuul | 用户自定义和编程灰度路由策略的Zuul Starter |
| discovery-plugin-strategy-starter-gateway | 用户自定义和编程灰度路由策略的Spring Cloud Api Gateway(F版) Starter |
| discovery-plugin-strategy-starter-gateway | 用户自定义和编程灰度路由策略的Spring Cloud Api Gateway(F版) Starter |
| discovery-console | 控制平台,集成接口给UI |
| discovery-console | 控制平台,集成接口给UI |
| discovery-console-starter-apollo | 控制平台的Apollo Starter
(敬请期待)
|
| discovery-console-starter-apollo | 控制平台的Apollo Starter |
| discovery-console-starter-nacos | 控制平台的Nacos Starter |
| discovery-console-starter-nacos | 控制平台的Nacos Starter |
| discovery-console-starter-redis | 控制平台的Redis Starter |
| discovery-console-starter-redis | 控制平台的Redis Starter |
| discovery-console-desktop | 图形化灰度发布等桌面程序 |
| discovery-console-desktop | 图形化灰度发布等桌面程序 |
...
@@ -323,9 +323,10 @@ Nepxion Discovery是一款对Spring Cloud Discovery服务注册发现、Ribbon
...
@@ -323,9 +323,10 @@ Nepxion Discovery是一款对Spring Cloud Discovery服务注册发现、Ribbon
控制平台引入
控制平台引入
```
xml
```
xml
[选择引入]
两
个远程配置中心的中间件的扩展插件,如需要,请任选一个引入,或者也可以引入您自己的扩展
[选择引入]
三
个远程配置中心的中间件的扩展插件,如需要,请任选一个引入,或者也可以引入您自己的扩展
<dependency>
<dependency>
<groupId>
com.nepxion
</groupId>
<groupId>
com.nepxion
</groupId>
<artifactId>
discovery-console-starter-apollo
</artifactId>
<artifactId>
discovery-console-starter-nacos
</artifactId>
<artifactId>
discovery-console-starter-nacos
</artifactId>
<artifactId>
discovery-console-starter-redis
</artifactId>
<artifactId>
discovery-console-starter-redis
</artifactId>
</dependency>
</dependency>
...
@@ -336,16 +337,14 @@ Nepxion Discovery是一款对Spring Cloud Discovery服务注册发现、Ribbon
...
@@ -336,16 +337,14 @@ Nepxion Discovery是一款对Spring Cloud Discovery服务注册发现、Ribbon
-
例如,控制平台用Nacos做远程配置中心,微服务用Redis做远程配置中心
-
例如,控制平台用Nacos做远程配置中心,微服务用Redis做远程配置中心
:star:如果只想要“用户自定义和编程灰度路由”功能,而不想要灰度发布功能
:star:如果只想要“用户自定义和编程灰度路由”功能,而不想要灰度发布功能
-
去除远程配置中心包的引入,例如如下
-
“用户自定义和编程灰度路由”是不需要接入远程配置中心的,所以建议去除远程配置中心包的引入
```
xml
```
xml
<dependency>
<dependency>
<groupId>
com.nepxion
</groupId>
<groupId>
com.nepxion
</groupId>
<artifactId>
discovery-plugin-config-center-starter-apollo
</artifactId>
<artifactId>
discovery-plugin-config-center-starter-xxx
</artifactId>
<artifactId>
discovery-plugin-config-center-starter-nacos
</artifactId>
<artifactId>
discovery-plugin-config-center-starter-redis
</artifactId>
</dependency>
</dependency>
```
```
-
下面两项配置改为false
-
“用户自定义和编程灰度路由”是不会对服务注册发现等逻辑产生影响,所以建议
下面两项配置改为false
```
xml
```
xml
# 开启和关闭服务注册层面的控制。一旦关闭,服务注册的黑/白名单过滤功能将失效,最大注册数的限制过滤功能将失效。缺失则默认为true
# 开启和关闭服务注册层面的控制。一旦关闭,服务注册的黑/白名单过滤功能将失效,最大注册数的限制过滤功能将失效。缺失则默认为true
spring.application.register.control.enabled=false
spring.application.register.control.enabled=false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment