[zeromq-dev] Can a broker explicitly deny certain subscriptions to certain clients?

Pieter Hintjens pieterh at gmail.com
Mon Aug 31 18:08:54 CEST 2015

You can do this using a dealer to router pattern and your own routing logic
in the broker. Malamute provides a lot of this, though does not yet do per
access control to topics.

On 31 Aug 2015 17:42, "David Jelenc" <david.jelenc at fri.uni-lj.si> wrote:

> Hi,
> I'm wondering if there is a way to explicitly deny a certain client from
> subscribing to a certain topic.
> I have a broker set up, where some clients publish and other subscribe.
>   client                              client
> PUB --- (XSUB | broker  logic | XPUB) --- SUB
> Since I'm using a XPUB socket on the broker, I can see all subscription
> and subscription cancellation messages. However, once these messages
> reach broker, the client is already subscribed.
> Is there any way on how I can prevent a client from subscribing to
> certain topics (while allowing the same client to subscribe to some
> other) and enforce this on the broker side (in the broker logic)?
> Any help would be greatly appreciated.
> Best,
> David
> _______________________________________________
> 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/20150831/3f527843/attachment.htm>

More information about the zeromq-dev mailing list