#zeromq #async #publish-federation

saas-zmq

使用发布-联邦的 ZeroMQ 工具

4 个版本

0.1.3 2024 年 7 月 1 日
0.1.2 2024 年 7 月 1 日
0.1.1 2024 年 7 月 1 日
0.1.0 2024 年 7 月 1 日

#699 in 异步

每月 44 次下载

MIT/Apache

25KB
488

关于

'saas-zmq' crate 提供了 ZeroMQ 项目中 libzmq 库的绑定。

配置

[[peers]]
sub_bind="tcp://:8002"
pub_bind="tcp://:8001"
heartbeat_bind="tcp://:19001"
req_tc_bind="tcp://:8081"
rep_tc_bind= "tcp://:8011"
req_kc_bind="tcp://:8181"
rep_kc_bind="tcp://:8111"

[[peers]]
sub_bind="tcp://:8005"
pub_bind="tcp://:8004"
heartbeat_bind="tcp://:19002"
req_tc_bind="tcp://:8082"
rep_tc_bind= "tcp://:8012"
req_kc_bind="tcp://:8182"
rep_kc_bind="tcp://:8112"

[[peers]]
sub_bind="tcp://:8008"
pub_bind="tcp://:8007"
heartbeat_bind="tcp://:19003"
req_tc_bind="tcp://:8083"
rep_tc_bind= "tcp://:8013"
req_kc_bind="tcp://:8183"
rep_kc_bind="tcp://:8113"


依赖项

~12–23MB
~311K SLoC