首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
springcloud一些博文记录
】的更多相关文章
springcloud一些博文记录
自己搭建完整demo后看的一个系列博文https://my.oschina.net/u/3375733/following 现在看着这个系列的后期文章估计出差前不会看了 一个博主的系列的git地址和博文地址 https://github.com/forezp/SpringCloudLearning https://blog.csdn.net/forezp/article/details/69696915…
SpringCloud的学习记录(1)
最近一段时间重新学习一边SpringCloud(有半年不用了),这里简单记录一下. 我用的是IntelliJ IDEA开发工具, SpringBoot的版本是2.1.3.RELEASE. 1. 构建Maven项目 整个的SpringCloud的项目是在Maven项目中的,这个Maven只做容纳其他项目使用, 比如后面Fegin/Config/Zipkin等项目. 用IntelliJ IDEA工具, File->Project->spring Initializr, 然后点击next, 填写Gr…
SPRINGCLOUD 开发学习记录
一个简单的微服务系统:服务注册和发现,服务消费,负载均衡,断路器,智能路由,配置管理 服务注册中心: eureka是一个高可用组件,没有后端缓存,每一个实例注册后向注册中心发送心跳,默认情况下,erureka server也是一个eureka clinet,必须指定server 引入依赖: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-st…
SpringCloud 学习网址记录
SpringCloud Gateway https://www.cnblogs.com/ityouknow/p/10141740.html 熔断降级的概念 https://blog.csdn.net/qq_37312838/article/details/82966209…
zipkin:和springcloud集成过程记录
发现全是springcloudapp的名称,然后是springcloudapp(http://localhost:8080/hello/tom)工程单独调用并没有通知zipkin: 原来是因为restTemplate的获取,好用的是使用restTemplate的@autowire的方式,但是如果使用@autowired导致的异常: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating be…
SpringCloud的学习记录(8)
这一章节讲zipkin-server. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息, 这里Artifact填写zipkinserver, 再次next, 选择内容如下的pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven…
SpringCloud的学习记录(7)
这一章节讲zuul的使用. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息, 这里Artifact填写eurekazuul, 再次next, 选择内容如下的pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.…
SpringCloud的学习记录(6)
这一章节讲fegin的使用. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息, 这里Artifact填写feginclient, 再次next, 选择内容如下的pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apach…
SpringCloud的学习记录(5)
这一章节讲如何使用ribbon和hystrix. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息, 这里Artifact填写ribbonconsumer, 再次next, 这里选择如下图: 最后在Module Name中填写ribbon-consumer. 生成的pom.xml文件如下: <?xml version="1.0" encoding="UTF…
SpringCloud的学习记录(3)
这一章节讲搭建config-server的项目. 在我们生成的Demo项目上右键点击New->Module->spring Initializr, 然后next, 填写Group和Artifact等信息, 这里Artifact填写configserver, 再次next, 这里选择的Web下的web和Cloud Discovery下的Eureka Discovery, 同时选择Cloud Config下的Config Server. 最后在Module Name中填写config-server…