SpineEventEngine / core-java

The Java implementation of the framework core
https://spine.io
Apache License 2.0
36 stars 12 forks source link

Do we need enrichments? #1488

Open alexander-yevsyukov opened 2 years ago

alexander-yevsyukov commented 2 years ago

Are they used by our current customers? They seem hard to explain and support.

Enrichments are also not guaranteed at the receiving side. Therefore the code which deal with them would be hard to reason about.

If we need caching for things that we want to get by taking values of event fields, it's another story.

Enrichments do make some sense for events that leave a bounded context so that another context may save on queries performed upon arrival of the event.