09 2021 档案

摘要:Nacos AP 实现 Distro协议。Distro是阿里巴巴的私有协议,目前流行的 Nacos服务管理框架就采用了 Distro协议。Distro 协议被定位为 临时数据的一致性协议 :该类型协议, 不需要把数据存储到磁盘或者数据库 ,因为临时数据通常和服务器保持一个session会话, 该会话 阅读全文
posted @ 2021-09-22 14:55 龘人上天 阅读(434) 评论(0) 推荐(0) 编辑
摘要:Mono使用 // 根据id查询 public Mono<ServerResponse> getUserById(ServerRequest request) { Integer id = Integer.valueOf(request.pathVariable("id")); // 非空处理 Mo 阅读全文
posted @ 2021-09-18 19:14 龘人上天 阅读(205) 评论(0) 推荐(0) 编辑
摘要:1. 根据项目,修改Application.properties, 需要继承类ProjectContributor,并且对外公布为@Bean public class ApplicationPropertiesContributor implements ProjectContributor { p 阅读全文
posted @ 2021-09-15 20:15 龘人上天 阅读(121) 评论(0) 推荐(0) 编辑
摘要:1. 创建createBootstrapContext a) 包含ApplicationEventMulticaster(事件广播主要组件) b) 所有Bootstrapper接口继承类被初始化(包括EurekaConfigServerBootstrapper.intitialize) 2. 从Sp 阅读全文
posted @ 2021-09-11 15:34 龘人上天 阅读(35) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示