spring cloud: 使用consul來替換config server

上一篇提到了,eureka 2.x官方停止更新後,可以用consul來替代,如果採用consul的話,其實config server也沒必要繼續使用了,consul自帶kv存儲,完全可以取代config server的活兒。   步驟如下: 一、先添加jar依賴 // compile 'org.springframework.cloud:spring-cloud-starter-config
相關文章
相關標籤/搜索