I probably didn't specify my concerns about filtering clear enough. If filter set to empty - sub will receive all events? That's not acceptable, workers should never receive events that are not dedicated to it.
Also I don't think pub/sub will work, because pub broadcasts messages to all subs. And again this is not what we need, event should be processed not more than once. On Saturday, December 28, 2013, crocket wrote: > 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 < > [email protected] <javascript:_e({}, 'cvml', > '[email protected]');>> 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 >> [email protected] <javascript:_e({}, 'cvml', >> '[email protected]');> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> >> >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
