![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微服务
Exception_sir
人生就像从代码看业务一样,越看越清晰,越看越奥妙!
展开
-
SpringCloud-pom.xml配置 自己使用包括断路器,feign消费者,ribbon负载依赖及相关yml配置比较全
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0....原创 2018-08-15 16:07:25 · 813 阅读 · 0 评论 -
SpringBoot Pom.xml文件常用配置
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-...原创 2018-08-15 10:51:35 · 487 阅读 · 0 评论 -
基于SpringBoot的SpringCloud客户端、Eureka注册中心、hystrix断路器、ribbon负载及RestTemplate消费端及代码测试案例
上一篇关于SpringCloud-POM.xml中已经将各个模块的pom配置及yml配置附上,所以这里直接贴代码: 1、Eureka注册中心模块: 2、SpringCloud 客户端即生产者(提供服务): 3、基于RestTemplate Http传输协议消费端包括断路器(异常处理): 控制层: 服务层: 测试启动端: 3、基于Feign工具...原创 2018-08-16 16:48:22 · 198 阅读 · 0 评论