I'm trying to use ZeroMQ but I don't seem to be able push any messages to try anything else.
My producer is
import time, json, zmq
def producer():
context = zmq.Context.instance()
zmq_socket = context.socket(zmq.PUSH)
zmq_socket.bind("tcp://*:9555")
# Start your result manager and workers before you start your producers
for num in xrange(200):
work_message = { 'num' : num }
print work_message
zmq_socket.send(json.dumps(work_message))
producer()
All I get is the message of the first print and then just waiting.