随笔分类 -  Dubbo

摘要:服务引用过程中涉及到服务发现机制 RegistryProtocol#doRefer private <T> Invoker<T> doRefer(Cluster cluster, Registry registry, Class<T> type, URL url) { // 创建 RegistryD 阅读全文
posted @ 2021-05-12 18:41 BINGJJFLY 阅读(411) 评论(0) 推荐(0)
摘要:dubbo:reference中配置url <dubbo:reference interface="org.apache.dubbo.demo.DemoService" url="dubbo://localhost:20880" /> 通过 -D 参数指定 java -Dorg.apache.dub 阅读全文
posted @ 2021-05-11 17:00 BINGJJFLY 阅读(1208) 评论(0) 推荐(0)
摘要:参考:https://blog.csdn.net/prestigeding/article/details/80621535 Dubbo官网写的非常详细:https://dubbo.apache.org/zh/docs/v2.7/dev/source/refer-service/ 设计图 Refer 阅读全文
posted @ 2021-05-11 16:23 BINGJJFLY 阅读(140) 评论(0) 推荐(0)
摘要:参考:https://mp.weixin.qq.com 官网地址:https://dubbo.apache.org/zh/docs/v2.7/dev/source/dubbo-spi/ 双亲委托模式的弊端 判断类是否加载的时候,应用类加载器会顺着双亲路径往上判断,直到启动类加载器.但是启动类加载器不 阅读全文
posted @ 2021-04-25 11:57 BINGJJFLY 阅读(90) 评论(0) 推荐(0)
摘要:参考:https://blog.csdn.net/prestigeding/article/details/80536385 设计图 ServiceBean类结构图 InitializingBean:其声明的接口为afterPropertiesSet方法,顾名思义,就是在bean初始化所有属性之后调 阅读全文
posted @ 2021-01-06 17:46 BINGJJFLY 阅读(190) 评论(0) 推荐(0)
摘要:1、Dubbo的一些自定义标签 <!-- 提供方应用信息,用于计算依赖关系 --> <dubbo:application name="uop" owner="uce"/> <!-- 使用zookeeper注册中心暴露服务地址 --> <dubbo:registry protocol="zookeep 阅读全文
posted @ 2021-01-06 10:43 BINGJJFLY 阅读(211) 评论(0) 推荐(0)
摘要:相关流程图 阅读全文
posted @ 2020-09-03 17:20 BINGJJFLY 阅读(205) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-08-12 14:49 BINGJJFLY 阅读(91) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-08-12 11:14 BINGJJFLY 阅读(100) 评论(0) 推荐(0)
摘要:参考:https://www.jianshu.com/p/73224a6c07bb 阅读全文
posted @ 2020-07-22 17:41 BINGJJFLY 阅读(111) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/u/f7daa458b874 阅读全文
posted @ 2020-07-17 15:47 BINGJJFLY 阅读(78) 评论(0) 推荐(0)
摘要:参考 https://blog.csdn.net/aa494661239/article/details/80522007 遇到的问题 本地注册服务时,连接的是测试环境的200服务器(zookeeper://192.xxx.xxx.200),测试时服务时而调的到时而调不到。因为开发人员都是往200上 阅读全文
posted @ 2018-12-07 17:52 BINGJJFLY 阅读(411) 评论(0) 推荐(0)