[zeromq-dev] XPUB: test for subscribed topic?
Michael Haberler
mail17 at mah.priv.at
Fri Sep 18 16:18:03 CEST 2015
> 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
More information about the zeromq-dev
mailing list