forked from polarismesh/polaris-java-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fredrikliu
committed
May 17, 2024
1 parent
7a18a85
commit 1fa01fa
Showing
5 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.../spring-cloud-hoxton-examples/quickstart-examples/consumer/src/main/resources/polaris.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
consumer: | ||
serviceRouter: | ||
plugin: | ||
# 设置就近路由插件配置 | ||
nearbyBasedRouter: | ||
# 描述:就近路由的最小匹配级别,需要显示设置 | ||
# 范围: zone(腾讯云地域信息,eg: ap-guangzhou)、campus(腾讯云可用区, eg: ap-guangzhou-3) | ||
matchLevel: campus |
7 changes: 0 additions & 7 deletions
7
...ud-hoxton-examples/quickstart-examples/provider-a/src/main/resources/bootstrap.properties
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...pring-cloud-hoxton-examples/quickstart-examples/provider-a/src/main/resources/polaris.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
consumer: | ||
serviceRouter: | ||
plugin: | ||
# 设置就近路由插件配置 | ||
nearbyBasedRouter: | ||
# 描述:就近路由的最小匹配级别,需要显示设置 | ||
# 范围: zone(腾讯云地域信息,eg: ap-guangzhou)、campus(腾讯云可用区, eg: ap-guangzhou-3) | ||
matchLevel: campus |
7 changes: 0 additions & 7 deletions
7
...ud-hoxton-examples/quickstart-examples/provider-b/src/main/resources/bootstrap.properties
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...pring-cloud-hoxton-examples/quickstart-examples/provider-b/src/main/resources/polaris.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
consumer: | ||
serviceRouter: | ||
plugin: | ||
# 设置就近路由插件配置 | ||
nearbyBasedRouter: | ||
# 描述:就近路由的最小匹配级别,需要显示设置 | ||
# 范围: zone(腾讯云地域信息,eg: ap-guangzhou)、campus(腾讯云可用区, eg: ap-guangzhou-3) | ||
matchLevel: campus |