Alex Rivera | Logout

N to N async pattern in ZeroMQ?

Asked 2012-09-04T13:02:41.353
8

although I went through the guide I cant find a way to do the following:
we have n publishers,
we have m subscribers.
Each subscriber subscribes to certain type of msg(one publisher can send more than one kind of the message, multiple pubs can emit msgs of same type).
How to create N to N(or N to 1 to N) pattern in 0MQ that does that?

Edit
Report

1 Answer

0

I have done a simple example in C which uses the built in zmq forwarder device to forward messages from N publishers to N subscribers. The code is available at https://gitorious.org/hellozmq

answered 2013-01-10T16:40:29.310

Your Answer