[zeromq-dev] Authentication and filtering

crocket crockabiscuit at gmail.com
Sat Dec 28 02:17:15 CET 2013


You can use pub/sub to receive only specific topics, and libzmq 4.x and
CZMQ 2.x have authentication support. Refer to http://hintjens.com/blog:49
For CLR and pure JVM, you need to wait, implement it yourself, or pay for
it.


On Sat, Dec 28, 2013 at 3:33 AM, Dmitriy Vsekhvalnov <dvsekhvalnov at gmail.com
> wrote:

> Hi all,
>
> looking for some advice where to start/patterns with zeromq for the
> following requirements:
>
>  - there is bunch of events (tasks) generated by some external parties
>  - each events is going to be processed by worker
>  - worker have to be authenticated with username/password to
> broker/router/whatever
>  - events have to be routed to particular workers based on authenticated
> identity (worker's identity).  - every single event have to be processed
> exactly once (not a pub/sub model).
>  - fully async on pushing event to worker and collecting result from worker
>  - if no workers for given set of events at particular moment - fine to
> loose messages
>
>
> Or in other words: non-authenticated workers should never receive
> anything. authenticated should never receive events related to other
> parties.
>
> My main questions are:
>
> 1. zerommq and auth? Is zeromq supports it (i need pure CLR to pure JVM
> impls if it matters). If not can it be done during initial "handshaker?
>
> 2. how to track workers identity to route only related events?
>
> 3. how to drop non-authenticated connections from routes?
>
> Any general guidelines or ideas very appreciated.
>
> Thanks.
>
>
>
>
>
>
> _______________________________________________
> 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/20131228/7f02b2eb/attachment.htm>


More information about the zeromq-dev mailing list