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
e1b62ec2
Commit
e1b62ec2
authored
Aug 26, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
ef1dbbb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
README.md
+6
-4
No files found.
README.md
View file @
e1b62ec2
...
...
@@ -237,8 +237,8 @@ Nepxion Discovery是一款对Spring Cloud服务注册发现和负载均衡的增
### 版本:triangular_flag_on_post:
| Spring Cloud版本 | Nepxion Discovery版本 |
| --- | --- |
| Finchley | 4.3.
19
|
| Edgware | 3.6.
19
|
| Finchley | 4.3.
20
|
| Edgware | 3.6.
20
|
### 依赖:triangular_flag_on_post:
```
xml
...
...
@@ -481,8 +481,10 @@ XML示例(也可以通过Json来描述,这里不做描述,见discovery-spr
### 版本权重的灰度路由规则
```
xml
1. 标准配置,举例如下
<service
consumer-service-name=
"a"
provider-service-name=
"b"
provider-weight-value=
"1.0=90;1.1=10"
/>
表示消费端访问提供端的时候,提供端的1.0版本提供90%的权重流量,1.1版本提供10%的权重流量
2. 尽量为线上所有版本都赋予权重值
<service
consumer-service-name=
"a"
provider-service-name=
"b"
provider-weight-value=
"1.0=90;1.1=10"
/>
表示消费端访问提供端的时候,提供端的1.0版本提供90%的权重流量,1.1版本提供10%的权重流量
<service
provider-service-name=
"b"
provider-weight-value=
"1.0=90;1.1=10"
/>
表示所有消费端访问提供端的时候,提供端的1.0版本提供90%的权重流量,1.1版本提供10%的权重流量
2. 局部配置,即指定consumer-service-name,专门为该消费端配置权重。全局配置,即不指定consumer-service-name,为所有消费端配置相同情形的权重。当局部配置和全局配置同时存在的时候,以局部配置优先
3. 尽量为线上所有版本都赋予权重值
```
### 用户自定义的灰度路由规则
...
...
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