[zeromq-dev] Malamute Stream API users

Michal Vyskocil michal.vyskocil at gmail.com
Wed May 4 13:23:01 CEST 2016


Yes, that's it. One client can produce only on one stream, while it can
consume more.
Dne 4. 5. 2016 1:06 PM napsal uživatel "Osiris Pedroso" <opedroso at gmail.com
>:

> Just to clarify, in the Malamute selftest, there is this code:
> ```
>     mlm_client_set_producer (writer1, "weather");
>     mlm_client_set_producer (writer2, "traffic");
>     mlm_client_set_consumer (reader1, "weather", "newyork");
>     mlm_client_set_consumer (reader1, "traffic", "newyork");
>     mlm_client_set_consumer (reader2, "weather", "newyork");
>     mlm_client_set_consumer (reader2, "traffic", "newyork");
> ```
> I believe this means that a mlm_client can only be set to be a producer of
> a single type, but an mlm_client can be a consumer of multiple types.
>
> Please confirm. Following the code was not enough to find it out... :-(
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160504/34b4f5ee/attachment.htm>


More information about the zeromq-dev mailing list