[zeromq-dev] XPUB: test for subscribed topic?

Pieter Hintjens ph at imatix.com
Fri Sep 18 18:21:07 CEST 2015


Good point. What kind of API would you imagine to access this?
(Please, no more socket options :-)

On Fri, Sep 18, 2015 at 4:18 PM, Michael Haberler <mail17 at mah.priv.at> wrote:
>
>> Am 18.09.2015 um 13:14 schrieb Pieter Hintjens <ph at imatix.com>:
>>
>> There's no way to do this. To get richer pub/sub state, I'd use
>> dealer-router sockets and do the subscription management/sending
>> myself.
>
> Well the trie of subscriptions is in place, it just has no API
>
> IOW: any objections against a stab at a libzmq-level trie accessor was_subscribed()?
>
> I happen to dislike tracking existing state by an extra layer just because the underlying state has no API
>
>
>
>>
>> On Fri, Sep 18, 2015 at 11:19 AM, Michael Haberler <mail17 at mah.priv.at> wrote:
>>> is there a way to test if a certain topic is subscribed on an XPUB socket?  (_without_ tracking subscribe messages with VERBOSE)?
>>>
>>> thanks,
>>> - Michael
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list