c# - Event sourcing infrastructure implementation -


i implement event sourcing , cqrs pattern in application. inspired cqrs journey downloaded sample code. there found whole infrastructure event sourcing (commandhandlers, eventhandlers, events, envelopes ... etc.), quite big amount of code , can't imagine need of code simple event sourcing.

do know common tested library/nuget package/project containing infrastructure sending/registering commands, events , need in event sourcing pattern? or should implement myself?

the general recommendation not write own event store. sure, can write own es, educational purposes. production systems recommend use existing es. might lot of unnecessary infrastructure code @ first notice need it. in simplest form es not hard once start dealing concurrency, performance etc more complicated.

neventstore , event store 2 known event stores.

as side note own experience, not underestimate time need invest on infrastructure code if use existing es.


Comments