[zeromq-dev] Can ROUTER multiplex REQ/REP and PUB/SUB?

Jake jake.cobb at gmail.com
Wed Mar 27 14:48:20 CET 2019


I currently have a system that has two public ports, facilitating:

REQ <-- tcp --> ROUTER <-- proxy --> DEALER <-- inproc --> REP

and

SUB <-- tcp --> PUB (various internal sinks supplying events)

Is it possible to use a single public port for both the REQ and SUB socket
connections that routes them based on connection type?  Something like:


REQ --\       /--ROUTER--DEALER--REP
       ROUTER
SUB --/       \--PUB

So there is only one TCP port listening required, a common CURVE
configuration point, etc?

-Jake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190327/903c6330/attachment.htm>


More information about the zeromq-dev mailing list