![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring cloud
文章平均质量分 75
大江大河大12138
这个作者很懒,什么都没留下…
展开
-
spring cloud config client端无法同步配置文件问题处理
这里记录下在使用spring cloud config client遇到的问题。1.无法从获取config server端获取到同后缀{yml/properties}的配置:config server配置是git。当github中的配置文件是{application}-{profile}.yml.如果config client端 resource目录下也存在xxx.yml配置,那么则无法从config server中获取到目标yml文件,如果把gitbub中对应的文件后缀改成properties,则可原创 2021-11-27 19:39:21 · 373 阅读 · 0 评论 -
zuul 执行过程源码探究
1.使用zuul//使用注解@EnableZuulProxy@EnableCircuitBreaker@Target(ElementType.TYPE)@Retention(RetentionPolicy.RUNTIME)@Import(ZuulProxyMarkerConfiguration.class)public @interface EnableZuulProxy {}这个注解的作用呢,首先看下zuul的spring.factories:org.springframewo原创 2021-06-27 00:48:13 · 150 阅读 · 0 评论 -
spring源码中常见‘父基类’分析
接口:ImportBeanDefinitionRegistrar初始化方法的入口也是Application.refresh()方法:public void refresh() throws BeansException, IllegalStateException { try { // Allows post-processing of the bean factory in context subclasses. postProcessBeanFactory(beanFactory)原创 2021-05-13 13:31:34 · 116 阅读 · 0 评论 -
Feign 执行过程源码分析
例行分享大佬的优秀文章:Feign分析Feign详解Feign源码1使用Feign注解@EnableFeignClients原创 2021-05-12 21:50:18 · 319 阅读 · 0 评论 -
hystrix 功能点探究
本着从源码入手学习工具的思想,以hystrixCommand.execute()方法为例,看了下hystrix的执行过程,说实话有点绕,而且Rxjava的一些语法规则了解的也不是很透,只能以Rxjava 回调的思想说服自己去,最后执行是怎么样的,最后将执行defer()方法中的逻辑。日常分享我感觉优秀的文章:SpringCloud使用Hystrix实现断路器降级熔断框架 Hystrix 源码解析:滑动窗口统计那么回到hystrix的功能上:资源隔离熔断降级功能点理解1资源隔离在微原创 2021-04-15 16:20:59 · 80 阅读 · 0 评论