[zeromq-dev] ZeroMQ/NetMQ: identity in PUB/SUB sockets

Giacomo Tesio giacomo at tesio.it
Fri Oct 25 10:10:43 CEST 2013


Ok. It's a bit late to discuss this decision. :-)

But is there a way to use such feature in NetMQ (since it's supported in
zmq 2.2, and NetMQ github pages cites such compatibility
https://github.com/zeromq/netmq)?



Giacomo


On Thu, Oct 24, 2013 at 8:45 PM, Pieter Hintjens <ph at imatix.com> wrote:

> On Thu, Oct 24, 2013 at 5:22 PM, Giacomo Tesio <giacomo at tesio.it> wrote:
>
> > However here
> > http://lists.zeromq.org/pipermail/zeromq-dev/2011-April/010354.html it
> was
> > suggested to remove this feature for PUB/SUB in 3.0.
> >
> > Was it removed?
>
> We removed it in 3.x as part of some major cleanups. Identities in
> pub/sub allowed a subscriber to keep messages on the publisher even
> when disconnecting. This was useful but also problematic as it caused
> memory leaks for publishers. The abstraction wasn't clean as there
> would still be message loss in cases.
>
> So 3.x removed durable sockets. I think the consensus was that this
> was a good simplification.
>
> Identities are now used only when talking to ROUTER sockets.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131025/f8268c5d/attachment.htm>


More information about the zeromq-dev mailing list