Hi Sean.
Regarding the missing messages, try adding a sleep in the publisher
between binding a port and sending
the messages. It looks like it's still connecting to the subscribers
while the first messages are being published.
Regarding the same messages, well this is by design. Every subscriber
gets the messages the publisher sends. If you wish to divide the work
between subscribers then you should use the Worker, Sink and
Ventilator pattern.
Hope it helps.
Regards,
Omer.
On Sun, Nov 27, 2011 at 11:07 AM, Sean Ochoa <[email protected]> wrote:
> Hey all.
> I've got a pub/sub example, which I'm unsure about. It seems that there are
> 2 problems in my example, and I'm not sure what's causing them.
>
> Not all the subscribers are getting messages.
> Some subscribers are getting the same messages as other subscribers.
>
> Here's the source for my test: http://paste.pound-python.org/show/15141/
>
> Can someone help me understand what I'm doing wrong?
> Thanks!
> Sean
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
Omer Bacharach
Director of Software Development
Toot Trading Ltd.
[email protected]
Mobile +972-544-317959
Office +972-3-7449466
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev