[zeromq-dev] subscriber stopped receiving messages from XPUB socket
Pieter Hintjens
ph at imatix.com
Fri Mar 15 14:15:35 CET 2013
It sounds like a problem in the subscription forwarding, yet it's not
clear how a subscriber could be affected by the publisher restarting,
with the proxy in between.
Do you need the proxy at all? First thing would be to connect
subscribers directly to the publisher. If the problem then still
happens we can try to make a reproducible test case.
-Pieter
On Fri, Mar 15, 2013 at 4:59 AM, Winston Huang <weiqingh at mail.com> wrote:
> hi there,
>
> I have multiple (5-10) subscribers subscribing to the same topic published
> by one publisher. They are connected via a XSUB-XPUB proxy. All the
> subscribers are always up and the publisher may come and go at times. I have
> noticed that at times, after the publisher is restarted, one of the
> subscribers might stop receiving any messages at all. It's not a slow-joiner
> kind of issue because the publisher continues to publish message every
> second and that subscriber may not get any messages at all forever, whereas
> other subscribers are getting messages at the same time. I also verified
> that the subscriber is waiting for messages (it's calling the receive
> function.) and if I restart the subscriber, it will get messages again.
>
> Could someone enlighten me what I may be doing wrong? Is there any thing I
> should be looking into?
>
> Thanks in advance.
> Winston
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list