[zeromq-dev] XPUB unsubscriptions with ZMQ_XPUB_MANUAL
Doron Somech
somdoron at gmail.com
Fri Jun 17 14:56:59 CEST 2016
It seems kike a bug.
On Jun 17, 2016 15:55, "Fedor Sheremetyev" <sheremetyev at gmail.com> wrote:
> 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
>>
>
>
> _______________________________________________
> 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/20160617/e872d8c2/attachment.htm>
More information about the zeromq-dev
mailing list