[zeromq-dev] Malamute Stream API users

Osiris Pedroso opedroso at gmail.com
Wed May 4 13:06:13 CEST 2016


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... :-(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160504/c4c66356/attachment.htm>


More information about the zeromq-dev mailing list