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
5e5e5695
Commit
5e5e5695
authored
Jul 02, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改介绍
parent
271c826e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
README.md
+1
-1
No files found.
README.md
View file @
5e5e5695
...
@@ -364,7 +364,7 @@ http://IP:[server.port]/routeAll
...
@@ -364,7 +364,7 @@ http://IP:[server.port]/routeAll
## Spring Cloud引入Consul的坑
## Spring Cloud引入Consul的坑
spring-cloud-consul的2.0.0.RELEASE(目前最新的稳定版)支持consul-api-1.2.2版本,它不兼容Consul的1.0.0以上的服务器,原因是服务的deregister在consul-api-1.2.2中是执行GET方法,而Consul的1.0.0以上的服务器对应的是PUT方法。解决方案,二选一
spring-cloud-consul的2.0.0.RELEASE(目前最新的稳定版)支持consul-api-1.2.2版本,它不兼容Consul的1.0.0以上的服务器,原因是服务的deregister在consul-api-1.2.2中是执行GET方法,而Consul的1.0.0以上的服务器对应的是PUT方法。解决方案,二选一
-
选用1.0.0以下的服务器,从
https://releases.hashicorp.com/consul/0.9.3/
获取
-
选用1.0.0以下的服务器,从
[
https://releases.hashicorp.com/consul/0.9.3/
](
https://releases.hashicorp.com/consul/0.9.3/
)
获取
-
或者,spring-cloud-consul中consul-api-1.2.2.jar替换到最新的版本
-
或者,spring-cloud-consul中consul-api-1.2.2.jar替换到最新的版本
## 示例演示
## 示例演示
...
...
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