当前位置:网站首页>zfoo中的providers和consumers标签
zfoo中的providers和consumers标签
2022-07-23 20:02:00 【zfoo-framework】
providers: 一般是表明自己是生产者,这样子可以在服务器启动时,把自己注册到zk中,只有一个元素。
consumers: 指定自己作为消费者要消费的接口。 可以有多个,这样子直接syncAsk请求服务提供方,其实就是rpc,这样子在自己启动时会从zk中获取自己关心的消费者,从而连接他们。
通过NetContext.getConsumer() 获取到一个session(ClientSessionMap中的一个元素),从而给服务提供者发送消息。
边栏推荐
- 如何在OneFlow中新增算子
- Discussion on the usage of scanf () and getchar ()
- Is the income of CICC securities' new financial products 6 percent? I want to open an account and manage money
- How to reset the computer system? The method is actually very simple
- Mekol Studio - Little Bear Development Notes 2
- 源启数字化:既有模式,还是开源创新?|砺夏行动
- 平安证券低佣金开户链接安全吗,怎么办理低佣金
- el-upload实现上传文件预览
- 【Jailhouse 文章】A Novel Software Architecture for Mixed Criticality Systems(2020)
- 2022山东老博会,山东养老展,中国国际养老服务业展9月举办
猜你喜欢
随机推荐
Use tinkerpop framework to add, delete, modify and check GDB
深入浅出边缘云 | 1. 概述
Leetcode 216. combined sum III
Detailed writing process of impala
How to add to-do items for win11 widgets? Win11 method of adding to-do widget
AB球队得分流水表,得到连续三次得分的队员名字 和每次赶超对手的球员名字(pdd)
Flink Catalog解读
设置ASP.NET MVC站点默认页为指定页面
2022 Shandong elderly care exhibition, China International elderly care service industry exhibition, Jinan elderly care industry exhibition
When using polymorphism, two ideas to judge whether it can be transformed downward
2022/7/22 训练日志
解决1秒钟内,用户快速点击,重复请求的问题
Atelier macoll - notes de développement de la secte de l'ours 2
数组——27. 移除元素
MongoDB-查询语句中$exists以及结合$ne、$nin、$nor、$not使用介绍
What antenna is used for ant interface_ There is an interface at the back of the TV that says standard ant 75 Euro input. What does it mean, antenna? Can you connect the closed route "Suggested collec
Reduced order method of linear algebraic determinant calculation method
很漂亮的马路
MongoDB-查询语句中逻辑运算符not、and、or、nor用法介绍
Excel自动化之13种方法来避免在 Microsoft Excel 中重复任务









