[zeromq-dev] req+pub on same address?

Matthew Woehlke matthew.woehlke at kitware.com
Mon Apr 8 21:09:19 CEST 2013


On 2013-04-08 13:47, Pieter Hintjens wrote:
> I'm in the middle of writing a blog post on how to send messages
> upstream from XSUB to XPUB. It works already but doesn't support
> multipart messages (I'll fix that).
>
> There are already some examples: http://hintjens.com/blog:37 and
> http://hintjens.com/blog:38.

Thanks; the second, with XPUB/XSUB looks like what I am trying to do. 
(Is this available in 3.2.2? Or would I need to build master?)

I still don't understand DEALER/ROUTER... can I use ROUTER like XPUB? 
I.e. will it broadcast messages based on subscriptions? (It would be 
great if there was a table/chart somewhere that described what happens 
for each socket type when you send or receive. I haven't found any such 
thing yet :-(.)

Alas, we are using a bolt-on protocol scheme that uses multi-part 
messages. Do you have an estimate when that will be fixed? (I guess it 
will need a new 0MQ release?)

I'll need to look how our protocol scheme is implemented (I didn't write 
it); it may be possible to avoid using multi-part to work around this 
limitation.

-- 
Matthew




More information about the zeromq-dev mailing list