NetMQ / NetMQ.ReactiveExtensions

Effortlessly send messages anywhere on the network using Reactive Extensions (RX). Transport protocol is ZeroMQ.
Mozilla Public License 2.0
66 stars 14 forks source link

Allow bind/connect to be reversed among publishers and subscribers #32

Closed masaeedu closed 5 years ago

masaeedu commented 8 years ago

I have a scenario where I'm trying to use multiple PublisherNetMQs with an XSub endpoint. This doesn't work, since the PublisherNetMQ instance can't be configured to connect instead of binding. It would be great if the library respected the @, > indicators in the connection string as the main NetMQ library does.

sharpe5 commented 8 years ago

I will accept pretty much any pull request if it solves a problem that you are encountering.

However, to be honest, this library is not really designed for many-to-many communications. It's realy designed for one-to-many communications, e.g. a service delivering data to one or more Excel plugin. You're better off with something like a custom ZeroMQ solution, or even RabbitMQ. The reason is that if you have many-to-many communication, you really need a stable broker to handle situations where participants come and go.