I want to setup a small event sourcing lib. I read a few tutorials online, everything understood so far.
The only problem is, in these different tutorials, there are
I would go with #2, and if you really want to have an efficient way of search via event type, I would just add an index on that column.