[zeromq-dev] XPUB unsubscriptions with ZMQ_XPUB_MANUAL
Fedor Sheremetyev
sheremetyev at gmail.com
Fri Jun 17 14:54:51 CEST 2016
I've submitted pull request to make behaviour of unsubscriptions with
ZMQ_XPUB_MANUAL more consistent - please have a look.
https://github.com/zeromq/libzmq/pull/2042
On 16 June 2016 at 10:37, Fedor Sheremetyev <sheremetyev at gmail.com> wrote:
> Hi,
>
> I'm experimenting with "manual" mode of XPUB and see that on client
> disconnection socket generates messages indicating unsubscription in terms
> of *topics* rather than custom messages provided by the client. This seems
> to be inconsistent with explicit unsubscription initiated by the client.
> This is also not very convenient because prevents matching of
> subscriptions/unsubscriptions per client.
>
> I wonder if there is a good reason for this behaviour? Maybe providing
> original messages and letting the publisher translate them into topic-based
> unsubscriptions would be more symmetrical?
>
> Thanks,
> Fedor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160617/90c139b0/attachment.htm>
More information about the zeromq-dev
mailing list