[zeromq-dev] Adding new zmq_getsockopt() to retrieve number of subscriptions from XPUB socket

Francesco francesco.montorsi at gmail.com
Tue Nov 15 22:59:55 CET 2022


Hi Arnaud,
As far as I know (by reading docs) zmq_socket_monitor() and also the
newer zmq_socket_monitor_versioned() do not allow to monitor
subscriptions, just endpoints... what am I missing?

Thanks,
Francesco

Il giorno mar 15 nov 2022 alle ore 16:43 Arnaud Loonstra
<arnaud at sphaero.org> ha scritto:
>
> On 15-11-2022 15:57, Francesco wrote:
> > Hi zeromq team,
> > For "observability" / debugging I think it would be really really
> > useful to be able to retrieve the number of subscriptions recorded by
> > the 'mtrie_t' object inside a (X)PUB socket.
> >
> > Would you accept a PR adding such option?
> >
> > Thanks,
> > Francesco
>
> Isn't that possible through the socket monitor?
>
> http://api.zeromq.org/4-1:zmq-socket-monitor
>
> Rg,
>
> Arnaud
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev


More information about the zeromq-dev mailing list