[nanomsg] Re: does nanomsg support multi producer in pub-sub mode?

  • From: "????????" <139250065@xxxxxx>
  • To: "nanomsg" <nanomsg@xxxxxxxxxxxxx>
  • Date: Tue, 29 Dec 2015 23:25:09 +0800

Dear Garrett:
Sorry! I didn't speak the question clearly. My real question is: Can multi
process(producer) post messages to same url(same message queue)? If can, should
each producer run nn_bind function?
With best regards
Daniel




------------------ ???????? ------------------
??????: "Garrett D'Amore";<garrett@xxxxxxxxxx>;
????????: 2015??12??29??(??????) ????11:15
??????: "nanomsg"<nanomsg@xxxxxxxxxxxxx>;

????: [nanomsg] Re: does nanomsg support multi producer in pub-sub mode?



Yes. You can connect to multiple publishers and since the subscription is
merely a client side filter you will see the appropriate messages from both
subscribers.

Sent from my iPhone

On Dec 29, 2015, at 2:19 AM, ???????? <139250065@xxxxxx> wrote:

Dear all:
does nanomsg support multi producer in pub-sub mode?

with best regards
daniel

Other related posts: