As you say,within an S4 cluster, events are dispatched according to their key + 
hashing and mod.
I want to dispatch events in adapter app and dispatch events by hashing on one 
string which I set myself.How to implement?


------------------ ???????? ------------------
??????: "Matthieu Morel"<[email protected]>;
????????: 2013??4??15??(??????) ????9:35
??????: "s4-user"<[email protected]>; 

????: Re: event dispatch



Hi,

within an S4 cluster, events are dispatched according to their key + hashing 
and mod , so there is no round-robin. To broadcast, use a null key.

Across S4 clusters inter-app communication, (e.g. when injecting events from an 
adapter), keyless events (null key) are distributed in a round robin fashion.

Hope this helps,

Matthieu



On Apr 14, 2013, at 04:35 , ?????? wrote:

> Hi,I am new to S4.I want to know how to dispatch events to nodes.
> Including:
> How to dispatch events in a round robin fashion?
> How to dispatch one event to all nodes?
> How to dispatch one event to a particular node?
> Thanks!

.

Reply via email to