[zeromq-dev] malamute - unsubscribe from stream like raw pub/sub sockets

Michal Vyskocil michal.vyskocil at gmail.com
Sat Sep 30 12:10:20 CEST 2017


Hi,

There is no such possibility in the protocol. The mlm proto and a client
server needs to be extended for unsubscribe functionality.

Workaround is to recreate mlm client each time.

Michal

Dne 27. 9. 2017 10:50 odpoledne napsal uživatel "Kevin Wang" <
kevin at spikegadgets.com>:

> In malamute, the stream pattern is extremely useful for me. I'd like to
> have each client provide different "events" through the stream, and then
> each client can subscribe to specific events from different clients'
> streams. But this approach needs to be more dynamic and requires
> unsubscribing from a pattern in a stream, or reversing a mlm_set_consumer
> command.
>
> My questions: There doesn't seem to be any option to unsubscribe a pattern
> from a stream currently. Does anyone have a workaround for this? Has there
> been discussion previously on this, and the possibility of implementing an
> unsubscribe option for malamute clients?
>
> How difficult would it be? I assumed that if the pub/sub sockets can
> unsubscribe, then surely malamute clients can as well. Unless I'm missing
> something on how malamute streams are implemented...
>
> Thanks
>
> Kevin
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170930/fe5020bd/attachment.html>


More information about the zeromq-dev mailing list