#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://localhost:8002"
pub_bind="tcp://localhost:8001"
heartbeat_bind="tcp://localhost:19001"
req_tc_bind="tcp://localhost:8081"
rep_tc_bind= "tcp://localhost:8011"
req_kc_bind="tcp://localhost:8181"
rep_kc_bind="tcp://localhost:8111"

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

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


依赖项

~12–23MB
~311K SLoC