[zeromq-dev] Can a broker explicitly deny certain subscriptions to certain clients?
Doron Somech
somdoron at gmail.com
Wed Sep 9 21:16:39 CEST 2015
Also it is an interesting problem so consider adding it to the cookbook.
Https://github.com/zeromq/cookbook
On Sep 9, 2015 9:32 PM, "Doron Somech" <somdoron at gmail.com> wrote:
> Great to hear. Thanks
> On Sep 9, 2015 12:12 PM, "David Jelenc" <david.jelenc at fri.uni-lj.si>
> wrote:
>
>> Hi Doron,
>>
>> many thanks for you suggestion. I did end up using your solution with
>> manual subscriptions.
>>
>> (There was a minor glitch when using it win a broker proxy, but it has
>> been fixed.)
>>
>> Best,
>> David
>>
>> On 31. 08. 2015 21:52, Doron Somech wrote:
>> > You can use xpub manual subscription, you can read more here:
>> >
>> > http://somdoron.com/2014/12/token-pubsub/
>> >
>> > If for NetMQ but applicable also for zeromq.
>> >
>> > On Mon, Aug 31, 2015 at 6:41 PM, David Jelenc
>> > <david.jelenc at fri.uni-lj.si <mailto: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
>> > PUBLISHER -------- BROKER -------- SUBSCRIBER
>> >
>> > 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 <mailto: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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150909/39417603/attachment.htm>
More information about the zeromq-dev
mailing list