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

Pieter Hintjens ph at imatix.com
Tue Oct 29 10:45:17 CET 2013


You can read the Guide chapter on advanced request reply; there are
many examples there.

On Tue, Oct 29, 2013 at 9:59 AM, Giacomo Tesio <giacomo at tesio.it> wrote:
> Can you point me to an example?
>
> I'm using PUB/SUB as asyncronous queues, and I did understand that
> ROUTER/DEALER was related to REQ/REP.
>
> I'm a bit confused...
>
>
> Giacomo
>
>
> On Fri, Oct 25, 2013 at 11:55 AM, Pieter Hintjens <ph at imatix.com> wrote:
>>
>> On Fri, Oct 25, 2013 at 10:10 AM, Giacomo Tesio <giacomo at tesio.it> wrote:
>>
>> > 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)?
>>
>> You can still use it in ZMQ 2.2 but you won't be able to upgrade such
>> apps to later versions.
>>
>> Anyhow there are better ways to do this (which is why few people
>> stressed when we removed the feature).
>>
>> If you really want persistent subscriptions you need explicit
>> management and acknowledgments, and I'd do this using a ROUTER
>> publisher to DEALER subscribers.
>>
>> -Pieter
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
-
Pieter Hintjens
CEO of iMatix.com
Founder of ZeroMQ community
blog: http://hintjens.com



More information about the zeromq-dev mailing list