A software engineer website

Architecture Heuristic YNIA: Events metadata

Gautier DI FOLCO February 18, 2024 [Software engineering] #architecture #design #heuristics

A while ago, I have continued with YNIA, which is a set of patterns I set up before really need them.

I work a lot (and enjoy working with) Event Sourced systems.

Events are composed of two parts:

Usually metadata are quite thin:

The great thing about event sourcing is that it captures exactly what happened, which is an issue if you didn't captured enough, the problem is two-folds:

Metadata are a technical concern, until they became a business concern.

That's why I add the following elements:

It is not much, but it covers all the business cases I have faced until now.