[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    [zeromq-dev] Python XPUB/XSUB broker not working
From:       Will Morton <macavity () well ! com>
Date:       2015-09-18 22:46:10
Message-ID: CACUGhgCBVhgw5Aj2OS42=h9rcVkzuAbwhb=K3BzvG0_WtJDRGg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I am trying to write an xpub/xsub message broker using the python bindings.
The sockets all claim to be listening and subscribing ok, but neither of
the xpub/xsub sockets receive any messages.

I have modified some test code (from [1]) and put it in
http://pastebin.com/ahbRapr8 - output claims messages are being sent by the
publisher, but are never seen by the broker. pdb traces confirm the output.

My stack is ubuntu 14.04, python 3.4.0, pyzmq 14.7.0. I see the same
behavior when using zmq.proxy() or zmq.devices.monitored_queue() so wonder
if it is a local/library issue or whether I am missing something more
fundamental.

Any help gratefully accepted. Thanks!

Will

[1]
http://stackoverflow.com/questions/14590122/how-to-implement-proxy-broker-for-xpub-xsub-messaging-in-zmq

[Attachment #5 (text/html)]

<div dir="ltr">I am trying to write an xpub/xsub message broker using the python \
bindings. The sockets all claim to be listening and subscribing ok, but neither of \
the xpub/xsub sockets receive any messages.<div><br></div><div>I have modified some \
test code (from [1]) and put it in  <a \
href="http://pastebin.com/ahbRapr8">http://pastebin.com/ahbRapr8</a>  - output claims \
messages are being sent by the publisher, but are never seen by the broker. pdb \
traces confirm the output.</div><div><br></div><div>My stack is ubuntu 14.04, python \
3.4.0, pyzmq 14.7.0. I see the same behavior when using zmq.proxy() or \
zmq.devices.monitored_queue() so wonder if it is a local/library issue or whether I \
am missing something more fundamental.</div><div><br></div><div>Any help gratefully \
accepted. Thanks!<br></div><div><br></div><div>Will</div><div><br></div><div>[1]  <a \
href="http://stackoverflow.com/questions/14590122/how-to-implement-proxy-broker-for-xp \
ub-xsub-messaging-in-zmq">http://stackoverflow.com/questions/14590122/how-to-implement-proxy-broker-for-xpub-xsub-messaging-in-zmq</a></div></div>




_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic