[zeromq-dev] PUB/SUB sockets over PGM intermixes multipart messages from different peers
Andrey Smirnov
smirnov.andrey at gmail.com
Tue Apr 26 20:15:42 CEST 2011
Hi Martin,
Thanks for quick answer!
2011/4/26 Martin Sustrik <sustrik at 250bpm.com>
> Yes. You are right. That's how the problem happens.
>
>
> Is this expected behavior? (i.e. ZeroMQ isn't supposed to work in this
>> way?)
>>
>
> Nope. It's a bug. There should be a separate pipe for each TSI. The
> functionality in this corner of 0MQ is not fully finished. Would you like to
> help with that?
Yes, would llike to give it a try. I suppose that pipe for each TSI should
be wired into zmq::fq_t of SUB socket, right? Much like individual TCP
connections in TCP case?
Do you have some hint on testing PGM without real hardware? Is there some VM
setup that works for multicast?
>
>
> My only workaround so far is not to use multipart messages, send only
>> body and subscribe to '' (drop tags).
>>
>
> You can also define a delimiter of your own to separate topic from body
> (say \x00) and thus pass both of them in a single message part. The
> subscriptions would work as expected.
>
>
Thanks, that should solve the problem for now!
--
Andrey Smirnov,
Qik Web Team Lead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110426/d9d5ed2b/attachment.htm>
More information about the zeromq-dev
mailing list