zeromq pattern: pub/sub with guaranteed delivery

自闭症网瘾萝莉.ら 提交于 2019-12-06 10:16:56

问题


I'd like to fan out messages and be sure that any connected socket has received them, if present.

So is there a pattern to achieve the following:

  • PUB socket shall block on watermark if there is one or more SUB connected, i.e. all of the SUB sockets have received the message.
  • PUB socket shall drop on watermark if there is no SUB connected.

I use nzmqt within Qt5 on OSX/Linux, if this is helpful or the mentioned problem could be solved in this special case.

来源:https://stackoverflow.com/questions/15059193/zeromq-pattern-pub-sub-with-guaranteed-delivery

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!