[zeromq-dev] Is custom HWM behaviour possible?

Ian Barber ian.barber at gmail.com
Thu May 12 23:56:23 CEST 2011


On Thu, May 12, 2011 at 9:59 PM, Gehan Gonsalkorale
<gehan at conversocial.com>wrote:

> Hi,
>
> I wasn't sure where to ask this question but maybe someone can help?
>
> I've been playing with zmq and its great, I want to use it to enable our 5
> servers to push out logging messages to a log server to store it centrally.
> Some people would set the 5 servers up as publishers with the log server as
> a subscriber, but that requires the log server to know where all the other
> servers are, whereas I'd rather have it the other way round.
>

You can have it the other way round - just bind() on the subscriber socket
on the log server, and connect on the rest. The patterns don't care about
who binds and who connects.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110512/ef4834f4/attachment.htm>


More information about the zeromq-dev mailing list