Hello

Given that every event has an associated key (e.g. CountEvent.key), wouldn't
it make sense to add it to the Event class itself?

The key in every Event, can be used directly for routing decisions. Also, I
believe it will prove to be very handy if people consider each PE instance
serving multiple keys (for scalability) or want to write their own
extensions for persisting the events.

Implementation: To facilitate different types of keys (Strings, Ints etc.),
we might want to make Event generic - Event<Key> with certain properties on
key.

Thanks
Karthik

Reply via email to