TodoItem
整理一下springcloud一站式解决方案的每个环节中,现在有哪些框架已经是不维护的? todo
Dubbo的生态在最近有没有经常颠覆性的完善? todo
为什么本地配置文件还要有从git加载的模式? todo
@RefreshScope用法和避坑 todo
Refresh Scope
A Spring @Bean that is marked as @RefreshScope will get special treatment when there is a configuration change. This addresses the problem of stateful beans that only get their configuration injected when they are initialized. For instance if a DataSource has open connections when the database URL is changed via the Environment, we probably want the holders of those connections to be able to complete what they are doing. Then the next time someone borrows a connection from the pool he gets one with the new URL.
Refresh scope beans are lazy proxies that initialize when they are used (i.e. when a method is called), and the scope acts as a cache of initialized values. To force a bean to re-initialize on the next method call you just need to invalidate its cache entry.
spring.cloud.config.uri的默认值作用是什么?启动警告是否需要排除掉?todo
@SpringBootApplication中指定scanBasePackages和不指定scanBasePackages的区别 todo
spring.profiles || yml配置文件