[zeromq-dev] Can ROUTER multiplex REQ/REP and PUB/SUB?
Doron Somech
somdoron.stuff at gmail.com
Sat Apr 20 15:14:28 CEST 2019
Inirxר
On Wed, Mar 27, 2019, 15:55 Mark Botner <mbotner at gmail.com> wrote:
> According to the reference pages: http://api.zeromq.org/4-2:zmq-socket
>
> Summary of ZMQ_ROUTER characteristics
> Compatible peer sockets *ZMQ_DEALER*, *ZMQ_REQ*,
> *ZMQ_ROUTER*
>
> So I don't think the design you are looking at will work.
>
>
> Mark
>
> On Wed, Mar 27, 2019 at 8:50 AM Jake <jake.cobb at gmail.com> wrote:
>
>> 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
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190420/d968250b/attachment.htm>
More information about the zeromq-dev
mailing list