[zeromq-dev] How to get data a ZMQ_PUB service?

Luca Boccassi luca.boccassi at gmail.com
Tue Feb 13 18:41:40 CET 2018


On Mon, 2018-02-12 at 16:40 -0500, Bernardo Augusto García Loaiza
wrote:
> Can I publisher service receive data from an external source and send
> them
> to the subscribers?
> 
> In the wuserver.cpp <http://zguide.zeromq.org/cpp:wuserver> sample
> the data
> are generated from the same script ...
> 
> Can I write a ZMQ_PUBLISHER entity which receive data from external
> data
> source / application ... ?

Sure, data can come from anywhere. The protocol/library is completely
data agnostic. You can even use zmq_proxy to "connect" different ends
of different connections.

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180213/2bb9dffe/attachment.sig>


More information about the zeromq-dev mailing list