![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
consul
文章平均质量分 51
terrybg
分享Java、微服务、架构、前端、项目管理技术,欢迎一起交流。
展开
-
【Consul教程】3.SpringBoot整合Consul搭建配置中心
前言上篇讲到了SpringBoot和Consul搭建服务注册与发现,这篇主要描述SpringBoot整合Consul搭建配置中心。整合consul的注册中心是安装的服务器上,只需要搭建注册客户端就行了。pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifa原创 2022-05-18 20:59:48 · 13521 阅读 · 0 评论 -
【Consul教程】2.SpringBoot整合Consul搭建服务注册与发现
前言上篇讲到了consul的安装,这篇主要SpringBoot 和consul整合,springcloud 的eureka以及不更新了,可以过渡到consul。整合consul的注册中心是安装的服务器上,只需要搭建注册客户端就行了。pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-pa原创 2022-05-18 19:35:42 · 11426 阅读 · 0 评论 -
【Consul教程】1.Consul简介和安装
简介consul是HashiCorp 公司基于Go语音开发的微服务工具。基于它Http API方式可以十分方便在系统中实现服务注册于发现,分布式配置中心。支持集群CP模式,一致性算法是Raft。常见解决方案:SpringBoot + Consul 实现注册中心、配置中心。Nginx + Upsync + Consul 实现动态负载均衡。Centos7安装Consul下载地址:https://releases.hashicorp.com/consul/1.命令行下载wget https://r原创 2022-05-18 19:34:48 · 11453 阅读 · 0 评论